File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed
Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -36,12 +36,14 @@ jobs:
3636 if : " !contains(github.ref, 'develop')"
3737 with :
3838 push : true
39+ platforms : linux/amd64,linux/arm64
3940 tags : ${{ steps.docker_meta.outputs.tags }}
4041 labels : ${{ steps.docker_meta.outputs.labels }}
4142 - name : Release Development Build
4243 uses : docker/build-push-action@v2
4344 if : " contains(github.ref, 'develop')"
4445 with :
4546 push : ${{ github.event_name != 'pull_request' }}
47+ platforms : linux/amd64,linux/arm64
4648 tags : ${{ steps.docker_meta.outputs.tags }}
4749 labels : ${{ steps.docker_meta.outputs.labels }}
Original file line number Diff line number Diff line change 22# Build the assets that are needed for the frontend. This build stage is then discarded
33# since we won't need NodeJS anymore in the future. This Docker image ships a final production
44# level distribution of Pterodactyl.
5- FROM mhart/alpine-node:14
5+ FROM --platform=$TARGETOS/$TARGETARCH mhart/alpine-node:14
66WORKDIR /app
77COPY . ./
88RUN yarn install --frozen-lockfile \
99 && yarn run build:production
1010
1111# Stage 1:
1212# Build the actual container with all of the needed PHP dependencies that will run the application.
13- FROM php:7.4-fpm-alpine
13+ FROM --platform=$TARGETOS/$TARGETARCH php:7.4-fpm-alpine
1414WORKDIR /app
1515COPY . ./
1616COPY --from=0 /app/public/assets ./public/assets
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ x-common:
3434#
3535services :
3636 database :
37- image : library/mysql:8.0
37+ image : mariadb:10.5
3838 restart : always
3939 command : --default-authentication-plugin=mysql_native_password
4040 volumes :
You can’t perform that action at this time.
0 commit comments