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
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Marko Guberina
ur_simple_control
Commits
af1a4009
Verified
Commit
af1a4009
authored
10 months ago
by
Anton Tetov Johansson
Browse files
Options
Downloads
Patches
Plain Diff
explicit install of vim-addon-manager and merged apt-get step
parent
ec4a79bb
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
+14
-14
14 additions, 14 deletions
Dockerfile
with
14 additions
and
14 deletions
Dockerfile
+
14
−
14
View file @
af1a4009
FROM
ubuntu:jammy
FROM
ubuntu:jammy
LABEL
org.opencontainers.image.authors="marko.guberina@control.lth.se"
# install python3-tk without questions
# install python3-tk without questions
ARG
DEBIAN_FRONTEND=noninteractive
ARG
DEBIAN_FRONTEND=noninteractive
ENV
TZ=Europe/Stockholm
ENV
TZ=Europe/Stockholm
RUN
apt-get update
&&
apt
install
-y
--no-install-recommends
\
RUN
apt-get update
&&
apt
-get
install
-y
--no-install-recommends
\
python3
\
python3
\
python3-pip
\
python3-pip
\
python3-tk
\
python3-tk
\
...
@@ -13,16 +15,10 @@ RUN apt-get update && apt install -y --no-install-recommends \
...
@@ -13,16 +15,10 @@ RUN apt-get update && apt install -y --no-install-recommends \
sudo
\
sudo
\
man-db
\
man-db
\
manpages-posix
\
manpages-posix
\
arp-scan
arp-scan
\
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
# nice to have
# nice to have
RUN
apt-get update
&&
apt
install
-y
--no-install-recommends
\
vim \
vim \
vim-addon-manager \
vim-youcompleteme \
vim-youcompleteme \
vim-python-jedi \
vim-python-jedi \
zsh \
zsh \
...
@@ -32,6 +28,10 @@ RUN apt-get update && apt install -y --no-install-recommends \
...
@@ -32,6 +28,10 @@ RUN apt-get update && apt install -y --no-install-recommends \
# qt-binding is a really unnecessary 300MB, but i don't want
# qt-binding is a really unnecessary 300MB, but i don't want
# to do more matplotlib hacks
# to do more matplotlib hacks
RUN
sed
-i
's:^path-exclude=/usr/share/man:#path-exclude=/usr/share/man:'
\
/etc/dpkg/dpkg.cfg.d/excludes
RUN
yes
| unminimize
# make the environment more usable
# make the environment more usable
# create user
# create user
RUN
useradd
-m
-s
/bin/zsh
-G
sudo
-u
1000 student
RUN
useradd
-m
-s
/bin/zsh
-G
sudo
-u
1000 student
...
@@ -45,8 +45,8 @@ RUN mkdir -p .cache/zsh/
...
@@ -45,8 +45,8 @@ RUN mkdir -p .cache/zsh/
COPY
--chown=student /dot_files_for_docker/.vimrc /home/student/
COPY
--chown=student /dot_files_for_docker/.vimrc /home/student/
COPY
--chown=student /dot_files_for_docker/.zshrc /home/student/
COPY
--chown=student /dot_files_for_docker/.zshrc /home/student/
COPY
--chown=student /dot_files_for_docker/global_extra_conf.py /home/student/
COPY
--chown=student /dot_files_for_docker/global_extra_conf.py /home/student/
RUN
vam
install
python-jedi
RUN
vam
install
youcompleteme
RUN
vam
install
python-jedi
&&
vam
install
youcompleteme
# this is enough to run clik
# this is enough to run clik
WORKDIR
/home/student/
WORKDIR
/home/student/
...
...
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