ARG RELEASE |
ARG LAUNCHPAD_BUILD_ARCH |
LABEL org.opencontainers.image.ref.name=ubuntu |
LABEL org.opencontainers.image.version=22.04 |
ADD file:140fb5108b4a2861b5718ad03b4a5174bba03589ea8d4c053e6a0b282f439ff3 in / |
CMD ["/bin/bash"] |
RUN /bin/sh -c apt-get update && DEBIAN_FRONTEND="noninteractive" apt-get install --yes bash build-essential ca-certificates curl htop locales man python3 python3-pip software-properties-common sudo systemd systemd-sysv unzip vim wget && add-apt-repository ppa:git-core/ppa && DEBIAN_FRONTEND="noninteractive" apt-get install --yes git # buildkit |
RUN /bin/sh -c useradd coder --create-home --shell=/bin/bash --uid=1001 --user-group && echo "coder ALL=(ALL) NOPASSWD:ALL" >>/etc/sudoers.d/nopasswd # buildkit |
USER coder |