Skip to content

Commit 84a1f74

Browse files
authored
✨ allow execution of local files (#137)
* ✨ allow execution of local files * Update .additional_bashrc.sh * 🔥 remove php 7 from pipeline
1 parent d222027 commit 84a1f74

File tree

4 files changed

+13
-11
lines changed

4 files changed

+13
-11
lines changed

.additional_bashrc.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
export LS_COLORS="${LS_COLORS}di=1;34:"
22
alias ll='ls -alh'
3-
export PATH=$PATH:~/.config/composer/vendor/bin:~/.composer/vendor/bin:./bin:./vendor/bin:./node_modules/.bin
3+
# add some PATHS for development
4+
export PATH=$PATH:~/.config/composer/vendor/bin:~/.composer/vendor/bin:./bin:./vendor/bin:./node_modules/.bin:.
45

56
# only enable docker aliases if docker-socket is mounted
67
CONTAINER_ID=$(basename $(findmnt /etc/hosts -o SOURCE | grep -o 'containers\/.\+\/'))

.github/workflows/main.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ name: ci
22

33
on:
44
schedule:
5-
# build every first of the month
6-
- cron: '0 0 1 * *'
5+
# build every Monday at 7:00
6+
- cron: '0 7 * * 1'
77
push:
88
workflow_dispatch:
99

@@ -14,7 +14,7 @@ jobs:
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
php: [ '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3' ]
17+
php: [ '8.0', '8.1', '8.2', '8.3' ]
1818
webserver: [ 'apache', 'nginx' ]
1919
distroAddon: [ '', '-alpine' ]
2020
steps:

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
ARG FROM=webdevops/php-nginx-dev:8.2-alpine
22
ARG DIST_ADDON=-alpine
3-
FROM $FROM as base-alpine
3+
FROM $FROM AS base-alpine
44
# Install additional software Alpine:
55
RUN apk add --no-cache sudo vim nano git-perl less tree bash-completion mariadb-client iputils sshpass gdb tzdata findmnt jq docker-cli file && \
66
echo "application ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
77

8-
FROM $FROM as base
8+
FROM $FROM AS base
99
# Install additional software Debian:
1010
RUN apt-get update && \
1111
apt-get install -y sudo vim nano less tree bash-completion mariadb-client iputils-ping sshpass gdb jq && \

README.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,14 @@ We recommend using [pluswerk/docker-global](https://github.com/pluswerk/docker-g
66

77
# Tags
88

9-
- php versions supported: `7.1`-`8.3`
9+
- php versions supported: `8.0`-`8.3`
10+
- php versions unsupported: `5.6`-`7.4`
1011
- webserver supported: `nginx` and `apache`
1112
- alpine images: `-alpine`
1213
- examples
13-
- `ghcr.io/pluswerk/php-dev:nginx-8.3-alpine`
14-
- `ghcr.io/pluswerk/php-dev:apache-7.1-alpine`
15-
- `ghcr.io/pluswerk/php-dev:nginx-8.0`
14+
- `pluswerk/php-dev:nginx-8.3-alpine`
15+
- `pluswerk/php-dev:apache-8.0-alpine`
16+
- `pluswerk/php-dev:nginx-8.2`
1617
- list of [all Tags](https://github.com/pluswerk/php-dev/pkgs/container/php-dev/versions?filters%5Bversion_type%5D=tagged)
1718

1819
## Setup
@@ -55,7 +56,7 @@ Example file: compose/Development/docker-compose.yml
5556
```yaml
5657
services:
5758
web:
58-
image: ghcr.io/pluswerk/php-dev:nginx-8.3-alpine
59+
image: pluswerk/php-dev:nginx-8.3-alpine
5960

6061
volumes:
6162
- .:/app

0 commit comments

Comments
 (0)