Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
FROM alpine:latest

ARG PB_VERSION=0.30.2

ARG TARGETARCH

ENV PB_VERSION=${PB_VERSION}

# Update default Alpine Linux packages that may have know CVE.
RUN apk update
RUN apk upgrade

# Add cli utils that will allow this workflow to fetch the Pocketbase package.
RUN apk add --no-cache \
curl \
unzip \
Expand Down Expand Up @@ -33,6 +37,7 @@ RUN case "$TARGETARCH" in \

# uncomment to copy the local pb_hooks dir into the image
# COPY ./pb_hooks /pb/pb_hooks
# Unzip may contain a known CVE so lets get rid of it since we no longer need it.
RUN apk del unzip

EXPOSE 8080
Expand Down