Skip to content

Commit

Permalink
Switched base image Containerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
dnkmmr69420 committed Feb 25, 2024
1 parent 91d9f52 commit 536fada
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions Containerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/dnkmmr69420/enhanced-arch:latest
FROM ghcr.io/ublue-os/arch-distrobox

LABEL com.github.containers.toolbox="true" \
usage="This image is used for vscodium" \
Expand All @@ -8,16 +8,16 @@ LABEL com.github.containers.toolbox="true" \
RUN pacman -Syu --noconfirm
RUN pacman -S go gopls python npm ninja cmake pyenv buildah meson --noconfirm

RUN useradd -m --shell=/bin/bash yay && usermod -L yay && \
echo "yay ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers && \
echo "root ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
RUN useradd -m --shell=/bin/bash build && usermod -L build && \
echo "build ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers && \
echo "root ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers

USER yay
WORKDIR /home/yay
USER build
WORKDIR /home/build

RUN yay -Syu --noconfirm
RUN yay -S nvm --noconfirm
RUN yay -S vscodium-bin --noconfirm
RUN paru -Syu --noconfirm
RUN paru -S nvm --noconfirm
RUN paru -S vscodium-bin --noconfirm

USER root
WORKDIR /

0 comments on commit 536fada

Please sign in to comment.