Adding SRV_APT_GET_INSTALL feature
This commit is contained in:
parent
1025783ee9
commit
e4991bf24c
2 changed files with 3 additions and 2 deletions
|
@ -7,8 +7,9 @@ ARG SRV_VERSION="0"
|
|||
ENV SRV_UID $SRV_UID
|
||||
ENV SRV_GID $SRV_GID
|
||||
ENV SRV_VERSION $SRV_VERSION
|
||||
ENV SRV_APT_GET_INSTALL $SRV_APT_GET_INSTALL
|
||||
|
||||
RUN apt-get update -y && apt-get install -y jq \
|
||||
RUN apt-get update -y && apt-get install -y jq $SRV_APT_GET_INSTALL \
|
||||
&& apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN id $SRV_UID || useradd -s /bin/bash -d /app -u $SRV_UID -g $SRV_GID srv
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue