From 416a99f8108b791daf31123dab5483ac3a8a2d47 Mon Sep 17 00:00:00 2001 From: Hamza Ahmed Date: Thu, 4 Jan 2024 19:38:50 +0000 Subject: [PATCH] Updated docker file to use hugo 0.121.1 and updated compose file to use gitlab instead of nonexistent docker registry --- Dockerfile | 4 ++-- docker-compose.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7394a88..11edcd3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ FROM alpine as Builder RUN apk add --update curl git # download and unnzip the hugo binary then place it in /usr/local/bin -RUN curl -L https://github.com/gohugoio/hugo/releases/download/v0.120.3/hugo_0.120.3_linux-arm64.tar.gz > hugo.tar.gz && tar -zxf hugo.tar.gz && mv hugo /usr/local/bin +RUN curl -L https://github.com/gohugoio/hugo/releases/download/v0.121.1/hugo_0.121.1_linux-arm64.tar.gz > hugo.tar.gz && tar -zxf hugo.tar.gz && mv hugo /usr/local/bin # clone the blog repository as well as the theme submodule RUN git clone --recurse-submodules https://gitlab.com/AHMZA/blog.git @@ -17,7 +17,7 @@ WORKDIR blog RUN hugo --minify --gc -# Nginx image is as basic as we can get +# Nginx image is as basic as we can get without introducing further complexity FROM nginx # copy the nginx.conf file diff --git a/docker-compose.yml b/docker-compose.yml index d8b8ccf..9bc4409 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,6 +2,6 @@ version: "3" services: app: - image: dockeregistry.ahmza.com/blog:latest + image: registry.gitlab.com/ahmza/blog:1.2.0 ports: - 8081:80