Skip to content

✨ allow execution of local files #137

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Feb 11, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .additional_bashrc.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
export LS_COLORS="${LS_COLORS}di=1;34:"
alias ll='ls -alh'
export PATH=$PATH:~/.config/composer/vendor/bin:~/.composer/vendor/bin:./bin:./vendor/bin:./node_modules/.bin
# add some PATHS for development
export PATH=$PATH:~/.config/composer/vendor/bin:~/.composer/vendor/bin:./bin:./vendor/bin:./node_modules/.bin:.

# only enable docker aliases if docker-socket is mounted
CONTAINER_ID=$(basename $(findmnt /etc/hosts -o SOURCE | grep -o 'containers\/.\+\/'))
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: ci

on:
schedule:
# build every first of the month
- cron: '0 0 1 * *'
# build every Monday at 7:00
- cron: '0 7 * * 1'
push:
workflow_dispatch:

Expand All @@ -14,7 +14,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [ '7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3' ]
php: [ '8.0', '8.1', '8.2', '8.3' ]
webserver: [ 'apache', 'nginx' ]
distroAddon: [ '', '-alpine' ]
steps:
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
ARG FROM=webdevops/php-nginx-dev:8.2-alpine
ARG DIST_ADDON=-alpine
FROM $FROM as base-alpine
FROM $FROM AS base-alpine
# Install additional software Alpine:
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 && \
echo "application ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers

FROM $FROM as base
FROM $FROM AS base
# Install additional software Debian:
RUN apt-get update && \
apt-get install -y sudo vim nano less tree bash-completion mariadb-client iputils-ping sshpass gdb jq && \
Expand Down
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,14 @@ We recommend using [pluswerk/docker-global](https://github.com/pluswerk/docker-g

# Tags

- php versions supported: `7.1`-`8.3`
- php versions supported: `8.0`-`8.3`
- php versions unsupported: `5.6`-`7.4`
- webserver supported: `nginx` and `apache`
- alpine images: `-alpine`
- examples
- `ghcr.io/pluswerk/php-dev:nginx-8.3-alpine`
- `ghcr.io/pluswerk/php-dev:apache-7.1-alpine`
- `ghcr.io/pluswerk/php-dev:nginx-8.0`
- `pluswerk/php-dev:nginx-8.3-alpine`
- `pluswerk/php-dev:apache-8.0-alpine`
- `pluswerk/php-dev:nginx-8.2`
- list of [all Tags](https://github.com/pluswerk/php-dev/pkgs/container/php-dev/versions?filters%5Bversion_type%5D=tagged)

## Setup
Expand Down Expand Up @@ -55,7 +56,7 @@ Example file: compose/Development/docker-compose.yml
```yaml
services:
web:
image: ghcr.io/pluswerk/php-dev:nginx-8.3-alpine
image: pluswerk/php-dev:nginx-8.3-alpine

volumes:
- .:/app
Expand Down
Loading