Skip to content
Snippets Groups Projects
Commit ec4a79bb authored by Anton Tetov Johansson's avatar Anton Tetov Johansson
Browse files

run apt-get update in same stage as apt install

parent 589b334c
Branches
No related tags found
No related merge requests found
...@@ -4,9 +4,7 @@ FROM ubuntu:jammy ...@@ -4,9 +4,7 @@ FROM ubuntu:jammy
ARG DEBIAN_FRONTEND=noninteractive ARG DEBIAN_FRONTEND=noninteractive
ENV TZ=Europe/Stockholm ENV TZ=Europe/Stockholm
RUN apt update && apt upgrade RUN apt-get update && apt install -y --no-install-recommends \
# necessary
RUN apt install -y \
python3 \ python3 \
python3-pip \ python3-pip \
python3-tk \ python3-tk \
...@@ -21,9 +19,9 @@ RUN sed -i 's:^path-exclude=/usr/share/man:#path-exclude=/usr/share/man:' \ ...@@ -21,9 +19,9 @@ RUN sed -i 's:^path-exclude=/usr/share/man:#path-exclude=/usr/share/man:' \
/etc/dpkg/dpkg.cfg.d/excludes /etc/dpkg/dpkg.cfg.d/excludes
RUN yes | unminimize RUN yes | unminimize
# for some reason it's needed again # for some reason it's needed again
RUN apt update && apt upgrade
# nice to have # nice to have
RUN apt install -y \ RUN apt-get update && apt install -y --no-install-recommends \
vim \ vim \
vim-youcompleteme \ vim-youcompleteme \
vim-python-jedi \ vim-python-jedi \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment