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