david/container-dev
david
/
container-dev
Archived
1
0
Fork 0

added readme and changed Dockerfile

This commit is contained in:
david 2020-10-28 19:09:24 +01:00
parent d200785bf0
commit 3611d3e5b8
2 changed files with 10 additions and 2 deletions

View File

@ -7,8 +7,12 @@ LABEL Description="This image is used to learn building dockerfiles" \
ENV USER_ID=1000
ENV GROUP_ID=1000
VOLUME [ "/mnt" ]
RUN apt-get update && apt-get upgrade -y && \
groupadd -g $GROUP_ID jekyll-dev && \
useradd -u $USER_ID -g $GROUP_ID -M -d /mnt -s /bin/false jekyll-dev
groupadd -g $GROUP_ID container-dev && \
useradd -u $USER_ID -g $GROUP_ID -M -d /mnt -s /bin/false container-dev
USER container-dev
CMD top -b

4
README.md Normal file
View File

@ -0,0 +1,4 @@
# jekyll-dev
Simple container to learn building Dockerfiles.