Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
U
ur_simple_control
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Marko Guberina
ur_simple_control
Commits
ec4a79bb
Commit
ec4a79bb
authored
7 months ago
by
Anton Tetov Johansson
Browse files
Options
Downloads
Patches
Plain Diff
run apt-get update in same stage as apt install
parent
589b334c
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+18
-20
18 additions, 20 deletions
Dockerfile
with
18 additions
and
20 deletions
Dockerfile
+
18
−
20
View file @
ec4a79bb
...
@@ -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
\
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment