multi arch Dockerfile
This commit is contained in:
parent
0f8012c22e
commit
994b792d97
@ -1,6 +1,6 @@
|
|||||||
# Build a small image
|
# Build a small image
|
||||||
FROM --platform=linux/amd64 alpine:3
|
FROM --platform=linux/amd64 alpine:3
|
||||||
RUN apk add --no-cache su-exec restic postgresql-client
|
RUN apk add --no-cache su-exec restic
|
||||||
COPY ./bin/formolcli /usr/local/bin
|
COPY ./bin/formolcli /usr/local/bin
|
||||||
|
|
||||||
# Command to run
|
# Command to run
|
||||||
|
|||||||
8
Dockerfile.arm64
Normal file
8
Dockerfile.arm64
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
# Build a small image
|
||||||
|
FROM --platform=linux/arm64 alpine:3
|
||||||
|
RUN apk add --no-cache su-exec restic postgresql-client
|
||||||
|
COPY ./bin/formolcli /usr/local/bin
|
||||||
|
|
||||||
|
# Command to run
|
||||||
|
ENTRYPOINT ["/usr/local/bin/formolcli"]
|
||||||
|
CMD ["--help"]
|
||||||
Loading…
Reference in New Issue
Block a user