From 9e22f355a9e811fba2503133591099a35f9b1fe3 Mon Sep 17 00:00:00 2001 From: Michael McVady Date: Wed, 25 May 2022 17:02:01 -0500 Subject: Clean up Docker image --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index 4f91dca..64fd0cb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,11 +30,13 @@ LABEL maintainer="Michael McVady " 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/. -- cgit v1.2.3