Skip to content

Commit

Permalink
ci alt-linux: fix permission
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Jan 8, 2025
1 parent 983abd1 commit 8490cdb
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion dockerfiles/alt-linux.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,17 @@ RUN \
which

RUN \
useradd --user-group --groups wheel --create-home devel
useradd --user-group --groups wheel,ruby --create-home devel

RUN \
echo "devel ALL=(ALL:ALL) NOPASSWD:ALL" | \
EDITOR=tee visudo -f /etc/sudoers.d/devel

USER devel
WORKDIR /home/devel

# This is just for creating /var/cache/ruby/index.rubygems.org%443/
# by the "devel" user.
RUN \
gem install --user-install pkg-config && \
gem uninstall pkg-config

0 comments on commit 8490cdb

Please sign in to comment.