Skip to content

Commit

Permalink
update php dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
yuriipavlov committed Jun 23, 2024
1 parent 9f20b37 commit c69f17b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions dockerfiles/php/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM php:8.1-fpm-alpine3.19

ENV XDEBUG_VERSION 3.1.4
ENV IMAGICK_VERSION 3.7.0
ENV XDEBUG_VERSION=3.1.4
ENV IMAGICK_VERSION=3.7.0

##################################
# Adding WP-CLI #
Expand Down
2 changes: 1 addition & 1 deletion sh/docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ if [ "$MODE" == "push" ]; then
# Step 1: Login to GitHub Container Registry (GHCR)

#export CR_PAT=YOUR_TOKEN
#echo $CR_PAT | docker login ghcr.io -u USERNAME --password-stdin
echo "$GHCR_TOKEN" | docker login ghcr.io -u USERNAME --password-stdin

# Step 2: Create a New Builder Instance

Expand Down
3 changes: 3 additions & 0 deletions sh/env/.env.secret.template
Original file line number Diff line number Diff line change
Expand Up @@ -72,3 +72,6 @@ APP_BA_PASSWORD=generate_this_pass
# For GitHub Secrets
#COMPOSER_AUTH={\"github-oauth\":{\"github.com\":\"ACCESS_TOKEN_GITHUB\"}}
#COMPOSER_AUTH={"github-oauth":{"github.com":"ACCESS_TOKEN_GITHUB"}}

# ghcr.io auth token for docker images push
#GHCR_TOKEN=ACCESS_TOKEN

0 comments on commit c69f17b

Please sign in to comment.