diff options
author | Elizabeth Hunt <me@liz.coffee> | 2025-07-01 10:23:26 -0700 |
---|---|---|
committer | Elizabeth Hunt <me@liz.coffee> | 2025-07-01 10:24:57 -0700 |
commit | f556523d908ed2ae836fe077f11c5a1b724d459a (patch) | |
tree | 8424ab110ae21aeef5f1ae4cc3641aa100e08a15 /worker/Dockerfile | |
parent | 8fbbe6396f400a9a50d4686c39969470edf2a246 (diff) | |
download | ci-f556523d908ed2ae836fe077f11c5a1b724d459a.tar.gz ci-f556523d908ed2ae836fe077f11c5a1b724d459a.zip |
Cache apt ops better, lift constants
Diffstat (limited to 'worker/Dockerfile')
-rw-r--r-- | worker/Dockerfile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/worker/Dockerfile b/worker/Dockerfile index 8261c2f..db3da52 100644 --- a/worker/Dockerfile +++ b/worker/Dockerfile @@ -15,6 +15,8 @@ RUN tar -xvzf /docker.tgz # -- <ci_worker> -- FROM oci.liz.coffee/emprespresso/ci_base:release AS worker +RUN apt-get update && apt-get install -yqq git jq + RUN chmod +x /app/worker/dist/scripts/*.js ENV PIPELINE_PATH=/app/worker/dist/scripts @@ -32,8 +34,6 @@ RUN usermod -a -d /var/lib/laminar -G docker node COPY --from=worker_dependencies /bw /usr/local/bin/ COPY --from=worker_dependencies /docker/* /usr/local/bin/ -RUN apt-get update && apt-get install -yqq git jq - USER node WORKDIR /var/lib/laminar EXPOSE 8080 |