From 607f99684540d12499d2cb4b6312a8ff75ebd3b4 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 15 Oct 2022 23:38:49 +0200 Subject: frontend: fix Docker builds This is what I get for abandoning my stuff for a while. The base image nginx:1-alpine switched Alpine versions, and it doesn't have some packages anymore. Oh well. --- docker/frontend/Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'docker') diff --git a/docker/frontend/Dockerfile b/docker/frontend/Dockerfile index 48e16ac..528ace2 100644 --- a/docker/frontend/Dockerfile +++ b/docker/frontend/Dockerfile @@ -3,11 +3,12 @@ FROM nginx:1-alpine AS base FROM base AS builder # Install cmark-gfm: -ARG CMARK_GFM_VERSION=0.29.0.gfm.3 +ARG CMARK_GFM_VERSION=0.29.0.gfm.6 ADD ["https://github.com/github/cmark-gfm/archive/refs/tags/$CMARK_GFM_VERSION.zip", "/"] -RUN apk add --no-cache cmake g++ make python2 && \ - unzip -- "$CMARK_GFM_VERSION.zip" && \ +RUN apk add --no-cache cmake g++ make python3 && \ + ln -sf /usr/bin/python3 /usr/bin/python +RUN unzip -- "$CMARK_GFM_VERSION.zip" && \ cd -- "cmark-gfm-$CMARK_GFM_VERSION" && \ make INSTALL_PREFIX=/cmark-gfm && \ make test && \ -- cgit v1.2.3