From 3ede1d6915832b11e91f14285ed3590b8cd5f821 Mon Sep 17 00:00:00 2001 From: Sneexy Date: Wed, 3 Apr 2024 10:06:28 -0500 Subject: [PATCH] feat: add dev related packages to ubuntu image --- .../ubuntu-toolbox/Containerfile.google-chrome | 6 ++++-- toolboxes/ubuntu-toolbox/Containerfile.ubuntu | 13 +++++++++++-- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/toolboxes/ubuntu-toolbox/Containerfile.google-chrome b/toolboxes/ubuntu-toolbox/Containerfile.google-chrome index 65bcb1c..67211bf 100644 --- a/toolboxes/ubuntu-toolbox/Containerfile.google-chrome +++ b/toolboxes/ubuntu-toolbox/Containerfile.google-chrome @@ -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/* diff --git a/toolboxes/ubuntu-toolbox/Containerfile.ubuntu b/toolboxes/ubuntu-toolbox/Containerfile.ubuntu index f0e99f6..974e14c 100644 --- a/toolboxes/ubuntu-toolbox/Containerfile.ubuntu +++ b/toolboxes/ubuntu-toolbox/Containerfile.ubuntu @@ -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