usar paquete de sports
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Cat /dev/Nulo 2023-09-28 15:17:28 +00:00
parent 6c589dcff5
commit 68c85fdea3

View file

@ -1,18 +1,8 @@
ARG ALPINE_VERSION=3.18.3 ARG ALPINE_VERSION=3.18.3
FROM alpine:${ALPINE_VERSION} AS build
MAINTAINER "nulo <nulo@sutty.nl>"
ARG PB_VERSION=0.18.8
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
RUN unzip /tmp/pb.zip -d /pb/
FROM gitea.nulo.in/sutty/sutty:${ALPINE_VERSION} FROM gitea.nulo.in/sutty/sutty:${ALPINE_VERSION}
MAINTAINER "nulo <nulo@sutty.nl>" MAINTAINER "nulo <nulo@sutty.nl>"
COPY --from=build /pb/pocketbase /usr/local/bin/pocketbase RUN apk add --no-cache pocketbase
COPY 1687801090_sutty_initial_admin.js /pb/pb_migrations/ COPY 1687801090_sutty_initial_admin.js /pb/pb_migrations/
WORKDIR /pb WORKDIR /pb