Skip to content

Commit

Permalink
fixup docker build platform
Browse files Browse the repository at this point in the history
  • Loading branch information
pldubouilh committed Aug 30, 2024
1 parent 5d94ed9 commit af79287
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions support/build.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM golang:1.23.0 AS builder
FROM --platform=$BUILDPLATFORM docker.io/library/golang:1.23.0 AS builder
WORKDIR /gossaSrc
COPY . /gossaSrc
RUN make

FROM docker.io/library/alpine:3.20
FROM --platform=$BUILDPLATFORM 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 \
Expand Down

0 comments on commit af79287

Please sign in to comment.