mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2026-10-06 16:31:10 +00:00
All configuration via .env file. (This replaces the nopaque.env file)
This commit is contained in:
1 parent
f32c6e9faa
commit
59003593b6
8 files changed
+89
-109
No files matched your search
+6
-6
@@ -4,9 +4,9 @@ FROM python:3.6-slim-stretch
|
||||
LABEL maintainer="inf_sfb1288@lists.uni-bielefeld.de"
|
||||
|
||||
|
||||
ARG docker_gid=999
|
||||
ARG gid=1000
|
||||
ARG uid=1000
|
||||
ARG DOCKER_GID
|
||||
ARG GID
|
||||
ARG UID
|
||||
ENV LANG=C.UTF-8
|
||||
|
||||
|
||||
@@ -18,9 +18,9 @@ RUN apt-get update \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
|
||||
RUN groupadd --gid ${docker_gid} --system docker \
|
||||
&& groupadd --gid ${gid} --system nopaqued \
|
||||
&& useradd --create-home --gid ${gid} --groups ${docker_gid} --no-log-init --system --uid ${uid} nopaqued
|
||||
RUN groupadd --gid ${DOCKER_GID} --system docker \
|
||||
&& groupadd --gid ${GID} --system nopaqued \
|
||||
&& useradd --create-home --gid ${GID} --groups ${DOCKER_GID} --no-log-init --system --uid ${UID} nopaqued
|
||||
USER nopaqued
|
||||
WORKDIR /home/nopaqued
|
||||
|
||||
|
||||
Reference in new issue
Block a user