Skip to content

Commit

Permalink
fix docker multiplatform
Browse files Browse the repository at this point in the history
  • Loading branch information
lastarc committed Jun 24, 2024
1 parent e1e2c8c commit 4739747
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
FROM alpine:latest

ARG PB_VERSION=0.22.14
ARG TARGETARCH

RUN apk add --no-cache \
unzip \
ca-certificates

ADD https://github.com/pocketbase/pocketbase/releases/download/v${PB_VERSION}/pocketbase_${PB_VERSION}_linux_amd64.zip /tmp/pb.zip
ADD https://github.com/pocketbase/pocketbase/releases/download/v${PB_VERSION}/pocketbase_${PB_VERSION}_linux_${TARGETARCH}.zip /tmp/pb.zip
RUN unzip /tmp/pb.zip -d /pb/

COPY ./pb_migrations /pb/pb_migrations
Expand Down

0 comments on commit 4739747

Please sign in to comment.