mirror of
https://github.com/versity/versitygw.git
synced 2026-01-07 12:15:18 +00:00
feat: Made gateway iam and setup directories configurable from environment variables in docker images
This commit is contained in:
@@ -12,7 +12,12 @@ RUN go build -o versitygw
|
||||
|
||||
FROM alpine:latest
|
||||
|
||||
RUN mkdir /tmp/vgw
|
||||
# These arguments can be overriden when building the image
|
||||
ARG IAM_DIR=/tmp/vgw
|
||||
ARG SETUP_DIR=/tmp/vgw
|
||||
|
||||
RUN mkdir -p $IAM_DIR
|
||||
RUN mkdir -p $SETUP_DIR
|
||||
|
||||
COPY --from=0 /app/cmd/versitygw/versitygw /app/versitygw
|
||||
|
||||
|
||||
Reference in New Issue
Block a user