Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Alexandru Dura
pintos-public
Commits
164cec4f
Commit
164cec4f
authored
Mar 20, 2020
by
Alexandru Dura
Browse files
Add a Dockerfile
parent
f7d2b1a6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Dockerfile
0 → 100644
View file @
164cec4f
FROM
ubuntu:18.04
RUN
useradd
-m
pintos
&&
echo
pintos:pintos | chpasswd
&&
\
usermod
-aG
sudo
pintos
# General-purpose utilities
RUN
apt-get update
&&
apt-get
-y
install
\
bash
\
git
\
build-essential
\
gdb
\
gcc
\
emacs
\
vim
\
nano
\
sudo
\
qemu
# Switch user
USER
pintos
WORKDIR
/home/pintos
# Clone pintos - needs adjustment to the right repo
RUN
git clone https://git.cs.lth.se/al7330du/pintos-public pintos
RUN
/bin/bash
-c
'echo "pushd /home/pintos/pintos > /dev/null ; source setup.sh ; popd > /dev/null" >> /home/pintos/.bashrc'
CMD
/bin/bash
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment