File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 8080 echo "### find all non-owned files ###############################"
8181 find . ! -user $USER
8282 echo "### show files in container ################################"
83- podman run --rm -v $PWD:/repo:Z --entrypoint ash ci/voxbox:${{ matrix.rubygem_puppet }} -c "ls -la"
83+ podman run --userns=keep-id -- rm -v $PWD:/repo:Z --entrypoint ash ci/voxbox:${{ matrix.rubygem_puppet }} -c "ls -la"
8484 echo "############################################################"
8585 # podman run --rm -v $PWD:/repo:Z ci/voxbox:${{ matrix.rubygem_puppet }} -f /Rakefile -T
8686 # podman run --rm -v $PWD:/repo:Z ci/voxbox:${{ matrix.rubygem_puppet }} -f /Rakefile lint
Original file line number Diff line number Diff line change @@ -93,7 +93,9 @@ RUN apk update \
9393 && apk add --no-cache openssh-client gpg jq yamllint git curl \
9494 && addgroup -g 1001 -S voxbox \
9595 && adduser -u 1001 -S -G voxbox voxbox \
96- && rm -rf /usr/local/lib/ruby/gems
96+ && rm -rf /usr/local/lib/ruby/gems \
97+ && mkdir /repo \
98+ && chown voxbox:voxbox /repo
9799
98100COPY --from=builder /usr/local/lib/ruby/gems /usr/local/lib/ruby/gems
99101COPY --from=builder /usr/local/bundle /usr/local/bundle
You can’t perform that action at this time.
0 commit comments