Skip to content

Commit 9e173b2

Browse files
committed
move image updates into the base layer
1 parent b894164 commit 9e173b2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
# base CoMSES Dockerfile
22
FROM phusion/baseimage:0.9.22
33
LABEL maintainer="Allen Lee <allen.lee@asu.edu>"
4+
5+
RUN apt-get update && apt-get upgrade -y -o Dpkg::Options::="--force-confold"
46

57
ONBUILD ENV PYTHONUNBUFFERED=1 \
68
COMSES_UID=2718 \
79
COMSES_USER=comses \
810
LANG=C.UTF-8 \
911
LC_ALL=C.UTF-8
10-
ONBUILD RUN apt-get update && apt-get upgrade -y -o Dpkg::Options::="--force-confold" \
11-
&& useradd -m --uid $COMSES_UID $COMSES_USER
12+
ONBUILD RUN useradd -m --uid $COMSES_UID $COMSES_USER

0 commit comments

Comments
 (0)