mirror of
https://github.com/pldubouilh/gossa.git
synced 2026-08-28 04:46:58 -04:00
generalise docker images
This commit is contained in:
committed by
Pierre Dubouilh
parent
cc703cd70d
commit
31c8ee518a
@@ -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
|
||||
WORKDIR /gossaSrc
|
||||
COPY . /gossaSrc
|
||||
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"
|
||||
COPY --from=builder /gossaSrc/gossa /gossa
|
||||
RUN addgroup -g ${GID} user \
|
||||
|
||||
Reference in New Issue
Block a user