Skip to content
Snippets Groups Projects
Commit ee4b3e34 authored by Bartek Wrona's avatar Bartek Wrona
Browse files

Added ubuntu upgrade step to the image build.

parent 8d988bef
No related branches found
No related tags found
1 merge request!9New base image used for building (due to changed dependency needs to build hived)
......@@ -28,7 +28,7 @@ RUN --mount=target=/var/lib/apt/lists,type=cache,sharing=locked \
&& usermod -o -u ${DEFAULT_USER_UID} -g ${DEFAULT_USER_GID} ${DEFAULT_USER} \
&& echo DISPLAY=${DISPLAY} >> /etc/environment \
&& echo DEFAULT_USER=${DEFAULT_USER} >> /etc/environment \
&& apt update \
&& apt update && apt upgrade -y \
&& apt install -y --no-install-recommends apt-transport-https ca-certificates gnupg-agent software-properties-common \
&& curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /etc/apt/trusted.gpg.d/docker-archive-keyring.gpg \
&& add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(. /etc/os-release; echo "$UBUNTU_CODENAME") stable" \
......@@ -69,7 +69,7 @@ RUN --mount=target=/var/lib/apt/lists,type=cache,sharing=locked \
DEBIAN_FRONTEND=noniteractive apt update && \
curl -fSsL https://dl.google.com/linux/linux_signing_key.pub | gpg --dearmor | sudo tee /usr/share/keyrings/google-chrome.gpg > /dev/null \
&& echo deb [arch=amd64 signed-by=/usr/share/keyrings/google-chrome.gpg] http://dl.google.com/linux/chrome/deb/ stable main | tee /etc/apt/sources.list.d/google-chrome.list \
&& apt update \
&& apt update && apt upgrade -y \
&& apt install -y google-chrome-stable \
&& apt install -y fontconfig xserver-xorg && \
cd "/home/${DEFAULT_USER}" && wget https://download.jetbrains.com/python/pycharm-community-2024.1.tar.gz && tar xf pycharm-community-2024.1.tar.gz && rm pycharm-community-2024.1.tar.gz && \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment