Skip to content

Commit

Permalink
fix: malformed auth.json bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
CS76 committed May 31, 2024
1 parent a894fad commit a669d6e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions resources/ops/docker/app/app.dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM php:8.3-fpm-alpine3.19 AS base

RUN apk add --update linux-headers zlib-dev libpng-dev libzip-dev icu-dev $PHPIZE_DEPS
RUN apk add git
RUN apk add git jq

RUN docker-php-ext-install exif
RUN docker-php-ext-install gd
Expand Down Expand Up @@ -48,7 +48,7 @@ COPY /routes routes
COPY . /var/www/html

ARG COMPOSER_AUTH
RUN echo "$COMPOSER_AUTH" > auth.json
RUN echo "$COMPOSER_AUTH" | jq . > auth.json

RUN composer install
RUN composer dump-autoload -o
Expand Down
4 changes: 2 additions & 2 deletions resources/ops/docker/nginx/nginx.dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM php:8.3-fpm-alpine3.19 AS base

RUN apk add --update linux-headers zlib-dev libpng-dev libzip-dev icu-dev $PHPIZE_DEPS
RUN apk add git
RUN apk add git jq

RUN docker-php-ext-install exif
RUN docker-php-ext-install gd
Expand Down Expand Up @@ -46,7 +46,7 @@ COPY /routes routes
COPY . /var/www/html

ARG COMPOSER_AUTH
RUN echo "$COMPOSER_AUTH" > auth.json
RUN echo "$COMPOSER_AUTH" | jq . > auth.json

RUN composer install
RUN composer dump-autoload -o
Expand Down

0 comments on commit a669d6e

Please sign in to comment.