feat: Made gateway iam and setup directories configurable from environment variables in docker images

This commit is contained in:
jonaustin09
2023-12-06 10:08:06 -05:00
parent 452152ad11
commit 32d7ada232
4 changed files with 18 additions and 4 deletions

View File

@@ -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