nomad

HCL and Docker files for Nomad deployments
git clone https://git.in0rdr.ch/nomad.git
Log | Files | Refs | Pull requests |Archive

commit 4606e403a7c12f66a47e66aa11b0dafff83df7dc
parent 5a0457e39b2829c61bbd3cfd8f72c11de5ee74b0
Author: Andreas Gruhler <andreas.gruhler@adfinis.com>
Date:   Sun, 16 Jun 2024 11:58:28 +0200

fix(aload): fuse overlayfs build issue

RUN directly after the VOLUME directive results in an error using this
particular version of buildah. Adding the VOLUME directive a bit later
in the script seems to fix the issue. Has something to do with how the
fs layers are mounted with fuse-overlayfs inside the Docker container..

Diffstat:
Mdocker/docker-aload/Dockerfile | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docker/docker-aload/Dockerfile b/docker/docker-aload/Dockerfile @@ -11,7 +11,6 @@ RUN groupmod -g 1000 apache RUN pip install --break-system-packages --upgrade yt-dlp # prepare cgi directory with aload script -VOLUME /var/www/localhost/cgi-bin WORKDIR /var/www/localhost/cgi-bin RUN rm * COPY cgi-bin/aload . @@ -20,6 +19,7 @@ COPY cgi-bin/aload . RUN mkdir -p /var/www/localhost/ampache RUN chown -R apache: /var/www/localhost VOLUME /var/www/localhost/ampache +VOLUME /var/www/localhost/cgi-bin EXPOSE 80/tcp