chore(docker): add a data directory for dex to var
Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
This commit is contained in:
parent
186a719ecb
commit
e49f6661f3
1 changed files with 3 additions and 0 deletions
|
@ -33,6 +33,9 @@ WORKDIR /
|
||||||
# OpenSSL is required so wget can query HTTPS endpoints for health checking.
|
# OpenSSL is required so wget can query HTTPS endpoints for health checking.
|
||||||
RUN apk add --no-cache --update ca-certificates openssl
|
RUN apk add --no-cache --update ca-certificates openssl
|
||||||
|
|
||||||
|
RUN mkdir -p /var/dex
|
||||||
|
RUN chown -R 1001:1001 /var/dex
|
||||||
|
|
||||||
USER 1001:1001
|
USER 1001:1001
|
||||||
|
|
||||||
COPY --from=0 /go/bin/dex /usr/local/bin/dex
|
COPY --from=0 /go/bin/dex /usr/local/bin/dex
|
||||||
|
|
Reference in a new issue