Skip to content
This repository has been archived by the owner on Apr 28, 2024. It is now read-only.

Commit

Permalink
feat: add dev related packages to ubuntu image
Browse files Browse the repository at this point in the history
  • Loading branch information
sneexy-boi committed Apr 3, 2024
1 parent e0f83ea commit 3ede1d6
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
6 changes: 4 additions & 2 deletions toolboxes/ubuntu-toolbox/Containerfile.google-chrome
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ RUN apt-get update && \
libxss1 \
libappindicator1 \
libindicator7 && \
curl -sL -o /tmp/google-chrome-stable_current_amd64.deb https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb && \
apt-get install -y /tmp/google-chrome-stable_current_amd64.deb && \
curl -sL -o /tmp/google-chrome-stable_current_amd64.deb \
https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb && \
DEBIAN_FRONTEND=noninteractive apt-get -y install \
/tmp/google-chrome-stable_current_amd64.deb && \
rm -rd /var/lib/apt/lists/* && \
rm -rd /tmp/*

Expand Down
13 changes: 11 additions & 2 deletions toolboxes/ubuntu-toolbox/Containerfile.ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,19 @@ FROM quay.io/toolbx-images/ubuntu-toolbox:22.04
COPY ./toolboxes/ubuntu-toolbox/basic.ubuntu /toolbox-packages

# Installs basic packages listed in the basic.ubuntu file
RUN apt-get update && \
apt-get upgrade -y && \
# Then installs dev related packages and others
RUN apt-get update && apt-get upgrade -y && \
DEBIAN_FRONTEND=noninteractive apt-get -y install \
$(cat toolbox-packages | xargs) && \
wget https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/master/pub.gpg \
-O /usr/share/keyrings/vscodium-archive-keyring.asc && \
echo 'deb [ signed-by=/usr/share/keyrings/vscodium-archive-keyring.asc ] https://paulcarroty.gitlab.io/vscodium-deb-rpm-repo/debs vscodium main' \
| sudo tee /etc/apt/sources.list.d/vscodium.list && \
apt-get update && apt-get upgrade -y && \
DEBIAN_FRONTEND=noninteractive apt-get -y install \
codium \
adb \
fastboot && \
rm -rd /var/lib/apt/lists/*

RUN rm /toolbox-packages
Expand Down

0 comments on commit 3ede1d6

Please sign in to comment.