Skip to content

Commit

Permalink
🐛 fix: Rename USER_PASSWORD to USER_PWD to avoid fix CI job
Browse files Browse the repository at this point in the history
  • Loading branch information
wanjohiryan committed Dec 8, 2024
1 parent 546e074 commit c1d86b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions containers/runner.Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -84,14 +84,14 @@ RUN pacman -Syu --noconfirm --needed \
ENV USER="nestri" \
UID=99 \
GID=100 \
USER_PASSWORD="nestri1234" \
USER_PWD="nestri1234" \
USER_HOME="/home/nestri"

RUN mkdir -p ${USER_HOME} && \
useradd -d ${USER_HOME} -u ${UID} -s /bin/bash ${USER} && \
chown -R ${USER} ${USER_HOME} && \
echo "${USER} ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers && \
echo "${USER}:${USER_PASSWORD}" | chpasswd
echo "${USER}:${USER_PWD}" | chpasswd

# Run directory #
RUN mkdir -p /run/user/${UID} && \
Expand Down

0 comments on commit c1d86b2

Please sign in to comment.