Skip to content
Snippets Groups Projects
Verified Commit ad6f1e41 authored by Quentin Duchemin's avatar Quentin Duchemin
Browse files

Add UID as env in Dockerfile [skip ci]

parent ad201d26
No related branches found
No related tags found
No related merge requests found
Pipeline #52976 skipped
......@@ -2,8 +2,10 @@ FROM node:12.9.1-alpine
LABEL maintainer="quentinduchemin@tuta.io"
ARG OHMYFORM_VERSION=0.2.3
# Probably does not need to change, bound to LDAP UID
ARG FORM_UID=5002
# Create a group and a user with name "ohmyform".
RUN addgroup --gid 9999 ohmyform && adduser -D --uid 9999 -G ohmyform ohmyform
RUN addgroup --gid ${FORM_UID} ohmyform && adduser -D --uid ${FORM_UID} -G ohmyform ohmyform
# Install some needed packages
RUN apk add --no-cache git python=2.7.16-r1 \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment