summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile12
1 files changed, 6 insertions, 6 deletions
diff --git a/Dockerfile b/Dockerfile
index bfa02a91..929f36a3 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,7 +1,7 @@
# Must be run with --privileged flag
# Recommended to run the container with a volume mapped
# in order to easy exprort images built to "external" world
-FROM ubuntu:18.04
+FROM debian:stretch
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
vim \
@@ -16,12 +16,12 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
texlive-latex-extra sudo \
&& rm -rf /var/lib/apt/lists/*
-RUN groupadd -g 1000 ubuntu
-RUN useradd -d /home/ubuntu -ms /bin/bash -g 1000 -u 1000 ubuntu && \
- echo "ubuntu:ubuntu" | chpasswd && \
- adduser ubuntu sudo
+RUN groupadd -g 1000 debian
+RUN useradd -d /home/debian -ms /bin/bash -g 1000 -u 1000 debian && \
+ echo "debian:debian" | chpasswd && \
+ adduser debian sudo
RUN echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
-USER ubuntu
+USER debian
WORKDIR ~