mirror of
https://github.com/pldubouilh/gossa
synced 2025-12-06 08:22:32 +01:00
generalise docker images
This commit is contained in:
parent
cc703cd70d
commit
31c8ee518a
1 changed files with 2 additions and 2 deletions
|
|
@ -1,10 +1,10 @@
|
||||||
FROM golang:1.23.0-alpine AS builder
|
FROM docker.io/library/golang:1.23.0-alpine AS builder
|
||||||
RUN apk add --no-cache make
|
RUN apk add --no-cache make
|
||||||
WORKDIR /gossaSrc
|
WORKDIR /gossaSrc
|
||||||
COPY . /gossaSrc
|
COPY . /gossaSrc
|
||||||
RUN make
|
RUN make
|
||||||
|
|
||||||
FROM alpine:3.20
|
FROM docker.io/library/alpine:3.20
|
||||||
ENV UID="1000" GID="1000" HOST="0.0.0.0" PORT="8001" PREFIX="/" FOLLOW_SYMLINKS="false" SKIP_HIDDEN_FILES="true" DATADIR="/shared" READONLY="false" VERB="false"
|
ENV UID="1000" GID="1000" HOST="0.0.0.0" PORT="8001" PREFIX="/" FOLLOW_SYMLINKS="false" SKIP_HIDDEN_FILES="true" DATADIR="/shared" READONLY="false" VERB="false"
|
||||||
COPY --from=builder /gossaSrc/gossa /gossa
|
COPY --from=builder /gossaSrc/gossa /gossa
|
||||||
RUN addgroup -g ${GID} user \
|
RUN addgroup -g ${GID} user \
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue