update image and create homedir
This commit is contained in:
parent
d79ae8fdd0
commit
ee94a909e9
|
@ -1,4 +1,4 @@
|
|||
FROM ubuntu:xenial
|
||||
FROM ubuntu:bionic
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y wget python3-pip python-pip cron && \
|
||||
|
@ -6,7 +6,7 @@ RUN apt-get update && \
|
|||
pip3 install --upgrade pip && \
|
||||
find /etc/cron* -type f -delete && \
|
||||
touch /etc/crontab && \
|
||||
useradd ubuntu && \
|
||||
useradd --create-home ubuntu && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
ADD start /start
|
||||
|
|
Loading…
Reference in New Issue