diff options
author | Michael McVady <femtonaut@gmail.com> | 2022-05-25 17:02:01 -0500 |
---|---|---|
committer | Michael McVady <femtonaut@gmail.com> | 2022-05-25 17:02:01 -0500 |
commit | 9e22f355a9e811fba2503133591099a35f9b1fe3 (patch) | |
tree | bad1e566c421aebf73f02738dc0ff9e6f3077dbc /Dockerfile | |
parent | ed95042928c8c5d1117ef99eace2af404c2cc29c (diff) |
Clean up Docker image
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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/. |