Skip to content

Commit

Permalink
fix missing docker image and install git before doing go install
Browse files Browse the repository at this point in the history
Signed-off-by: Augustin Husson <[email protected]>
  • Loading branch information
Nexucis committed Jan 3, 2024
1 parent edd04f7 commit 117f3af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ COPY ./scripts ./scripts
COPY Makefile .
COPY .mdox.yaml .

RUN go install github.com/bwplotka/mdox@latest
RUN apt update && apt install -y git make
RUN go install github.com/bwplotka/mdox@latest

RUN make synchronize

Expand All @@ -21,7 +21,7 @@ RUN npm install --ignore-scripts

RUN hugo --minify --gc --cleanDestinationDir

FROM hugomods/hugo:nginx
FROM docker.io/hugomods/hugo:nginx

# Copy the generated files to keep the image as small as possible.
COPY --from=builder /src/public /site

0 comments on commit 117f3af

Please sign in to comment.