We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1f6efd commit ae616cbCopy full SHA for ae616cb
Dockerfile
@@ -1,10 +1,12 @@
1
FROM alpine:latest
2
-ARG TARGETOS
3
-ARG TARGETARCH
+ARG TARGETPLATFORM
4
5
-COPY /build/output/derper_${TARGETOS}_${TARGETARCH} /usr/bin/derper
6
-RUN chmod +x /usr/bin/derper
+RUN apk update && \
+ apk upgrade --no-cache && \
+ apk add --no-cache ca-certificates &&\
7
+ rm -rf /var/cache/apk/*
8
9
+COPY /build/output/${TARGETPLATFORM}/derper /usr/bin/derper
10
WORKDIR /data
11
12
ENTRYPOINT [ "/usr/bin/derper" ]
0 commit comments