Compare commits

...
2 Commits
Author SHA1 Message Date
me e4f5793106 hugo, clean up the container after compiling hugo with go. 2026-11-07 09:12:32 -07:00
me 7a8f3cc095 Do not try to pull local build images. 2026-11-02 16:18:43 -07:00
11 changed files with 30 additions and 2 deletions

No files matched your search

+2 -1
View File
@@ -8,9 +8,10 @@
services:
app:
container_name: dns-app
image: hyperling/dns:latest
build:
context: ./
image: hyperling/dns:latest
pull_policy: never
restart: always
ports:
- "53:53/udp"
@@ -62,6 +62,7 @@ services:
FILE38: ${FILE38}
FILE39: ${FILE39}
image: hyperling/fdroid-server:latest
pull_policy: never
restart: always
ports:
- "8015:80"
+15 -1
View File
@@ -10,19 +10,33 @@ USER root
ARG DEBIAN_FRONTEND=noninteractive
# System Dependencies
run echo "Install Dependencies"
RUN apt-get update && \
apt-get install -y \
git nginx cron curl bash sudo \
golang gcc ca-certificates && \
ca-certificates \
golang gcc && \
rm -rf /var/lib/apt/lists/*
# Compile Hugo (same version Artix is currently shipping, rather than latest.)
run echo "Compile Hugo"
RUN CGO_ENABLED=1 go install -tags extended github.com/gohugoio/hugo@v0.164.0
# Install Hugo
run echo "Install Hugo"
RUN mv -v $HOME/go/bin/hugo /usr/local/bin/hugo && \
chmod -v 755 /usr/local/bin/hugo
RUN echo "Clean Up Go"
RUN rm -rfv /usr/local/go \
/root/go/pkg/mod \
/root/.cache/go-build \
/root/go \
&& apt-get remove -y --purge golang gcc && \
apt-get autoremove -y && \
apt-get clean && \
rm -rfv /var/lib/apt/lists/* /tmp/*
# User and Group
#RUN groupadd -r hugo && useradd -r -g hugo hugo
@@ -7,6 +7,7 @@ services:
build:
context: ./
image: hyperling/hugo:$BRANCH
pull_policy: never
restart: always
ports:
- $NGINX_PORT:80 # Production minified files served using NGINX.
@@ -7,6 +7,7 @@ services:
build:
context: ./
image: hyperling/website:latest
pull_policy: never
restart: always
ports:
- 8317:8080
@@ -27,6 +27,7 @@ services:
build:
context: ./
image: hyperling/libretranslate:latest
pull_policy: never
restart: always
ports:
- "5000:5000"
@@ -73,6 +73,7 @@ services:
build:
context: ./
image: hyperling/nextcloud:latest
pull_policy: never
restart: always
ports:
- 8080:80
@@ -73,6 +73,7 @@ services:
build:
context: ./
image: hyperling/nextcloud:latest
pull_policy: never
restart: always
ports:
- 8080:80
@@ -33,6 +33,7 @@ services:
build:
context: ./
image: hyperling/prosody:latest
pull_policy: never
restart: always
ports:
- 5222:5222
@@ -20,6 +20,7 @@ services:
PACKAGES: ${PACKAGES}
EXTRA_ARCH: ${EXTRA_ARCH}
image: hyperling/provision-test:arch
pull_policy: never
restart: "no"
environment:
- PACKAGES=$PACKAGES
@@ -49,6 +50,7 @@ services:
PACKAGES: ${PACKAGES}
EXTRA_DEBIAN: ${EXTRA_DEBIAN}
image: hyperling/provision-test:debian
pull_policy: never
restart: "no"
environment:
- PACKAGES=$PACKAGES
@@ -78,6 +80,7 @@ services:
PACKAGES: ${PACKAGES}
EXTRA_FEDORA: ${EXTRA_FEDORA}
image: hyperling/provision-test:fedora
pull_policy: never
restart: "no"
environment:
- PACKAGES=$PACKAGES
@@ -107,6 +110,7 @@ services:
PACKAGES: ${PACKAGES}
EXTRA_OPENSUSE: ${EXTRA_OPENSUSE}
image: hyperling/provision-test:opensuse
pull_policy: never
restart: "no"
environment:
- PACKAGES=$PACKAGES
@@ -136,6 +140,7 @@ services:
PACKAGES: ${PACKAGES}
EXTRA_UBUNTU: ${EXTRA_UBUNTU}
image: hyperling/provision-test:ubuntu
pull_policy: never
restart: "no"
environment:
- PACKAGES=$PACKAGES
@@ -12,6 +12,7 @@ services:
build:
context: ./
image: hyperling/nginx-reverse-proxy:latest
pull_policy: never
restart: always
ports:
- "80:80"