-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix qemu arm64 builds * unpin final image
- Loading branch information
ruslandoga
committed
May 3, 2023
1 parent
fecbc8b
commit 885ccaa
Showing
2 changed files
with
7 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,11 @@ ENV MIX_ENV=prod | |
ENV NODE_ENV=production | ||
ENV NODE_OPTIONS=--openssl-legacy-provider | ||
|
||
# custom ERL_FLAGS are passed for (public) multi-platform builds | ||
# to fix qemu segfault, more info: https://github.com/erlang/otp/pull/6340 | ||
ARG ERL_FLAGS | ||
ENV ERL_FLAGS=$ERL_FLAGS | ||
|
||
RUN mkdir /app | ||
WORKDIR /app | ||
|
||
|
@@ -48,7 +53,7 @@ COPY rel rel | |
RUN mix release plausible | ||
|
||
# Main Docker Image | ||
FROM alpine:3.17.0@sha256:c0d488a800e4127c334ad20d61d7bc21b4097540327217dfab52262adc02380c | ||
FROM alpine:3.17.0 | ||
LABEL maintainer="plausible.io <[email protected]>" | ||
|
||
ARG BUILD_METADATA={} | ||
|