Commit 7e1fa827 authored by ale's avatar ale
Browse files

Install missing jsonsubst binary

Fixes issue #25.
parent 8333dd67
Pipeline #18150 passed with stages
in 3 minutes and 57 seconds
......@@ -3,13 +3,15 @@
FROM golang:1.16 AS gobuild
RUN go get github.com/piranha/gostatic
RUN go get git.autistici.org/ai/webtools/cmd/sitesearch
RUN go get git.autistici.org/ai/webtools/cmd/jsonsubst
FROM debian:bullseye AS build
RUN apt-get -q update && env DEBIAN_FRONTEND=noninteractive apt-get -qy install --no-install-recommends rsync git golang ca-certificates
RUN apt-get -q update && env DEBIAN_FRONTEND=noninteractive apt-get -qy install --no-install-recommends rsync
ADD . /src
WORKDIR /src
COPY --from=gobuild /go/bin/gostatic /usr/bin/gostatic
COPY --from=gobuild /go/bin/sitesearch /usr/bin/sitesearch
COPY --from=gobuild /go/bin/jsonsubst /usr/bin/jsonsubst
RUN ./scripts/lint.sh && ./scripts/update.sh
FROM registry.git.autistici.org/ai3/docker/apache2-base:master
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment