Skip to content

Commit

Permalink
MOSIP-32461 docker changes
Browse files Browse the repository at this point in the history
Signed-off-by: Sowmya Ujjappa Banakar <[email protected]>
  • Loading branch information
Sowmya Ujjappa Banakar committed May 23, 2024
1 parent 12aaab4 commit 8e2c9e3
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ RUN apk -q update \
&& apk add -q unzip sudo \
&& addgroup -g ${container_user_gid} ${container_user_group} \
&& adduser -s /bin/sh -u ${container_user_uid} -G ${container_user_group} -h /home/${container_user} --disabled-password ${container_user} \
&& addgroup sudo \
&& adduser ${container_user} sudo

# set working directory for the user
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ RUN apk -q update \
&& apk add -q unzip sudo \
&& addgroup -g ${container_user_gid} ${container_user_group} \
&& adduser -s /bin/sh -u ${container_user_uid} -G ${container_user_group} -h /home/${container_user} --disabled-password ${container_user} \
&& addgroup sudo \
&& adduser ${container_user} sudo

# set working directory for the user
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ RUN apk -q update \
&& apk add -q unzip sudo \
&& addgroup -g ${container_user_gid} ${container_user_group} \
&& adduser -s /bin/sh -u ${container_user_uid} -G ${container_user_group} -h /home/${container_user} --disabled-password ${container_user} \
&& addgroup sudo \
&& adduser ${container_user} sudo

# set working directory for the user
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ RUN apk -q update \
&& apk add -q unzip sudo \
&& addgroup -g ${container_user_gid} ${container_user_group} \
&& adduser -s /bin/sh -u ${container_user_uid} -G ${container_user_group} -h /home/${container_user} --disabled-password ${container_user} \
&& addgroup sudo \
&& adduser ${container_user} sudo

# set working directory for the user
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ RUN apk -q update \
&& apk add -q unzip sudo \
&& addgroup -g ${container_user_gid} ${container_user_group} \
&& adduser -s /bin/sh -u ${container_user_uid} -G ${container_user_group} -h /home/${container_user} --disabled-password ${container_user} \
&& addgroup sudo \
&& adduser ${container_user} sudo

# set working directory for the user
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ RUN apk -q update \
&& apk add -q unzip sudo \
&& addgroup -g ${container_user_gid} ${container_user_group} \
&& adduser -s /bin/sh -u ${container_user_uid} -G ${container_user_group} -h /home/${container_user} --disabled-password ${container_user} \
&& addgroup sudo \
&& adduser ${container_user} sudo

# set working directory for the user
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ RUN apk -q update \
&& apk add -q unzip sudo \
&& addgroup -g ${container_user_gid} ${container_user_group} \
&& adduser -s /bin/sh -u ${container_user_uid} -G ${container_user_group} -h /home/${container_user} --disabled-password ${container_user} \
&& addgroup sudo \
&& adduser ${container_user} sudo \
&& echo "%sudo ALL=(ALL) NOPASSWD:/home/${container_user}/${biosdk_local_dir}/install.sh" >> /etc/sudoers

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ RUN apk -q update \
&& apk add -q unzip sudo \
&& addgroup -g ${container_user_gid} ${container_user_group} \
&& adduser -s /bin/sh -u ${container_user_uid} -G ${container_user_group} -h /home/${container_user} --disabled-password ${container_user} \
&& addgroup sudo \
&& adduser ${container_user} sudo

# set working directory for the user
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ RUN apk -q update \
&& apk add -q unzip sudo \
&& addgroup -g ${container_user_gid} ${container_user_group} \
&& adduser -s /bin/sh -u ${container_user_uid} -G ${container_user_group} -h /home/${container_user} --disabled-password ${container_user} \
&& addgroup sudo \
&& adduser ${container_user} sudo \
&& echo "%sudo ALL=(ALL) NOPASSWD:/home/${container_user}/${biosdk_local_dir}/install.sh" >> /etc/sudoers

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ RUN apk -q update \
&& apk add -q unzip sudo \
&& addgroup -g ${container_user_gid} ${container_user_group} \
&& adduser -s /bin/sh -u ${container_user_uid} -G ${container_user_group} -h /home/${container_user} --disabled-password ${container_user} \
&& addgroup sudo \
&& adduser ${container_user} sudo \
&& echo "%sudo ALL=(ALL) NOPASSWD:/home/${container_user}/${biosdk_local_dir}/install.sh" >> /etc/sudoers

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ RUN apk -q update \
&& apk add -q unzip sudo \
&& addgroup -g ${container_user_gid} ${container_user_group} \
&& adduser -s /bin/sh -u ${container_user_uid} -G ${container_user_group} -h /home/${container_user} --disabled-password ${container_user} \
&& addgroup sudo \
&& adduser ${container_user} sudo

# set working directory for the user
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ RUN apk -q update \
&& apk add -q unzip sudo \
&& addgroup -g ${container_user_gid} ${container_user_group} \
&& adduser -s /bin/sh -u ${container_user_uid} -G ${container_user_group} -h /home/${container_user} --disabled-password ${container_user} \
&& addgroup sudo \
&& adduser ${container_user} sudo

# set working directory for the user
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ RUN apk -q update \
&& apk add -q unzip sudo \
&& addgroup -g ${container_user_gid} ${container_user_group} \
&& adduser -s /bin/sh -u ${container_user_uid} -G ${container_user_group} -h /home/${container_user} --disabled-password ${container_user} \
&& addgroup sudo \
&& adduser ${container_user} sudo

# set working directory for the user
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ RUN apk -q update \
&& apk add -q unzip sudo \
&& addgroup -g ${container_user_gid} ${container_user_group} \
&& adduser -s /bin/sh -u ${container_user_uid} -G ${container_user_group} -h /home/${container_user} --disabled-password ${container_user} \
&& addgroup sudo \
&& adduser ${container_user} sudo

# set working directory for the user
Expand Down

0 comments on commit 8e2c9e3

Please sign in to comment.