aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index 4f91dca..64fd0cb 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -30,11 +30,13 @@ LABEL maintainer="Michael McVady <femtonaut@gmail.com>"
RUN set -e \
&& mkdir -p /var/chroot \
&& addgroup --gid 502 clog \
- && adduser --disabled-password --uid 502 --home /var/chroot/clog --shell /sbin/nologin --ingroup clog clog \
+ && adduser --disabled-password --uid 502 --home /var/chroot/clog --shell /sbin/nologin --ingroup clog --gecos "" clog \
&& apt-get update -qq \
&& apt-get install -y \
libssl-dev \
- libpq-dev
+ libpq-dev \
+ && rm -rf /var/lib/apt/lists/*
+
COPY --from=build-stage /tmp/clog/assets /var/chroot/clog/assets/.
COPY --from=build-stage /tmp/clog/clog /var/chroot/clog/.