diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-04-09 19:53:38 +0200 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2022-04-09 19:53:38 +0200 |
commit | e46827d16b51480cda7d97a47840b71f829271d9 (patch) | |
tree | 228867b08eb16cc177c0ba57471e1636eec9e0e2 /docker/frontend | |
parent | frontend: get rid of bash in image (diff) | |
download | cgitize-e46827d16b51480cda7d97a47840b71f829271d9.tar.gz cgitize-e46827d16b51480cda7d97a47840b71f829271d9.zip |
frontend: don't install packages twice
Diffstat (limited to 'docker/frontend')
-rw-r--r-- | docker/frontend/Dockerfile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/frontend/Dockerfile b/docker/frontend/Dockerfile index 9772186..e341e89 100644 --- a/docker/frontend/Dockerfile +++ b/docker/frontend/Dockerfile @@ -6,7 +6,7 @@ FROM base AS builder ARG CMARK_GFM_VERSION=0.29.0.gfm.3 ADD ["https://github.com/github/cmark-gfm/archive/refs/tags/$CMARK_GFM_VERSION.zip", "/"] -RUN apk add --no-cache cmake g++ make python2 py3-pip && \ +RUN apk add --no-cache cmake g++ make python2 && \ unzip -- "$CMARK_GFM_VERSION.zip" && \ cd -- "cmark-gfm-$CMARK_GFM_VERSION" && \ make INSTALL_PREFIX=/cmark-gfm && \ |