Skip to content

Commit

Permalink
Fix incorrect addgroup and adduser inside CLI docker image
Browse files Browse the repository at this point in the history
Signed-off-by: Jade Carino <[email protected]>
  • Loading branch information
jadecarino committed Feb 11, 2025
1 parent 9864dd5 commit cf37702
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions dockerfiles/dockerfile.galasactl
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@ RUN apt-get update \

ARG platform

RUN addgroup galasa && \
adduser -D -G galasa -h /galasa -s /bin/sh galasa
RUN groupadd -r galasa && \
useradd -r -g galasa -d /galasa -s /bin/bash galasa && \
mkdir -p /galasa && \
chown galasa:galasa /galasa

COPY bin/galasactl-${platform} /bin/galasactl
RUN chmod +x /bin/galasactl
Expand Down

0 comments on commit cf37702

Please sign in to comment.