Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(IDX): create minimal image #682

Merged
merged 22 commits into from
Jul 31, 2024
Prev Previous commit
Next Next commit
switch to runner use
  • Loading branch information
cgundy committed Jul 30, 2024
commit 7d4b13f3acccfca144e8f590c0c0a10b063df3a9
4 changes: 2 additions & 2 deletions .github/minimal-runner-image/Dockerfile
Original file line number Diff line number Diff line change
@@ -4,9 +4,9 @@ RUN apt -yq update && \
apt -yq install --no-install-recommends git curl wget ca-certificates

RUN groupadd -g 1000 ubuntu && useradd -ms /bin/bash -u 1000 -g 1000 ubuntu && \
groupadd -g 1001 buildifier && useradd -ms /bin/bash -u 1001 -g 1001 buildifier && \
groupadd -g 1001 runner && useradd -ms /bin/bash -u 1001 -g 1001 runner && \
echo "ALL ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers

USER ubuntu
USER runner

CMD ["/bin/bash"]