We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e1e2c8c commit 4739747Copy full SHA for 4739747
Dockerfile
@@ -1,12 +1,13 @@
1
FROM alpine:latest
2
3
ARG PB_VERSION=0.22.14
4
+ARG TARGETARCH
5
6
RUN apk add --no-cache \
7
unzip \
8
ca-certificates
9
-ADD https://github.com/pocketbase/pocketbase/releases/download/v${PB_VERSION}/pocketbase_${PB_VERSION}_linux_amd64.zip /tmp/pb.zip
10
+ADD https://github.com/pocketbase/pocketbase/releases/download/v${PB_VERSION}/pocketbase_${PB_VERSION}_linux_${TARGETARCH}.zip /tmp/pb.zip
11
RUN unzip /tmp/pb.zip -d /pb/
12
13
COPY ./pb_migrations /pb/pb_migrations
0 commit comments