chore: Fix Dockerfile FromAsCasing

This commit is contained in:
Théophile Diot 2024-06-26 17:54:00 +01:00
parent cc8c552492
commit ec3d758290
No known key found for this signature in database
GPG key ID: FA995104A0BA376A
9 changed files with 16 additions and 16 deletions

View file

@ -1,4 +1,4 @@
FROM python:3.12.4-alpine3.19@sha256:ef3397d09070efd36583e83d2619cf8006158641e5b6b629d4d92a9778f5aa1c as builder
FROM python:3.12.4-alpine3.19@sha256:ef3397d09070efd36583e83d2619cf8006158641e5b6b629d4d92a9778f5aa1c AS builder
# Export var for specific actions on linux/arm/v7
ARG TARGETPLATFORM

View file

@ -1,7 +1,7 @@
FROM debian:bookworm-slim@sha256:d02c76d82364cedca16ba3ed6f9102406fa9fa8833076a609cabf14270f43dfc as builder
FROM debian:bookworm-slim@sha256:d02c76d82364cedca16ba3ed6f9102406fa9fa8833076a609cabf14270f43dfc AS builder
ENV OS=debian
ENV NGINX_VERSION 1.26.1
ENV NGINX_VERSION=1.26.1
# Install Nginx and dependencies
RUN apt update && \

View file

@ -1,7 +1,7 @@
FROM fedora:40@sha256:5ce8497aeea599bf6b54ab3979133923d82aaa4f6ca5ced1812611b197c79eb0 as builder
FROM fedora:40@sha256:5ce8497aeea599bf6b54ab3979133923d82aaa4f6ca5ced1812611b197c79eb0 AS builder
ENV OS=fedora
ENV NGINX_VERSION 1.26.1
ENV NGINX_VERSION=1.26.1
# Install Nginx, fpm and dependencies
RUN dnf update -y && \

View file

@ -1,7 +1,7 @@
FROM redhat/ubi8:8.10@sha256:143123d85045df426c5bbafc6863659880ebe276eb02c77ee868b88d08dbd05d as builder
FROM redhat/ubi8:8.10@sha256:143123d85045df426c5bbafc6863659880ebe276eb02c77ee868b88d08dbd05d AS builder
ENV OS=rhel
ENV NGINX_VERSION 1.26.1
ENV NGINX_VERSION=1.26.1
# Copy rocky repo
COPY src/linux/rocky-8.repo /etc/yum.repos.d/rocky.repo

View file

@ -1,7 +1,7 @@
FROM redhat/ubi9:9.4@sha256:d98fdae16212df566150ac975cab860cd8d2cb1b322ed9966d09a13e219112e9 as builder
FROM redhat/ubi9:9.4@sha256:d98fdae16212df566150ac975cab860cd8d2cb1b322ed9966d09a13e219112e9 AS builder
ENV OS=rhel
ENV NGINX_VERSION 1.26.1
ENV NGINX_VERSION=1.26.1
# Copy rocky repo
COPY src/linux/rocky-9.repo /etc/yum.repos.d/rocky.repo

View file

@ -1,7 +1,7 @@
FROM ubuntu:24.04@sha256:562456a05a0dbd62a671c1854868862a4687bf979a96d48ae8e766642cd911e8 as builder
FROM ubuntu:24.04@sha256:562456a05a0dbd62a671c1854868862a4687bf979a96d48ae8e766642cd911e8 AS builder
ENV OS=ubuntu
ENV NGINX_VERSION 1.26.1
ENV NGINX_VERSION=1.26.1
# Install Nginx and dependencies
RUN apt update && \

View file

@ -1,7 +1,7 @@
FROM ubuntu:22.04@sha256:2af372c1e2645779643284c7dc38775e3dbbc417b2d784a27c5a9eb784014fb8 as builder
FROM ubuntu:22.04@sha256:2af372c1e2645779643284c7dc38775e3dbbc417b2d784a27c5a9eb784014fb8 AS builder
ENV OS=ubuntu
ENV NGINX_VERSION 1.26.1
ENV NGINX_VERSION=1.26.1
# Install Nginx and dependencies
RUN apt update && \

View file

@ -1,4 +1,4 @@
FROM python:3.12.4-alpine3.19@sha256:ef3397d09070efd36583e83d2619cf8006158641e5b6b629d4d92a9778f5aa1c as builder
FROM python:3.12.4-alpine3.19@sha256:ef3397d09070efd36583e83d2619cf8006158641e5b6b629d4d92a9778f5aa1c AS builder
# Export var for specific actions on linux/arm/v7
ARG TARGETPLATFORM

View file

@ -1,4 +1,4 @@
FROM python:3.12.4-alpine3.19@sha256:ef3397d09070efd36583e83d2619cf8006158641e5b6b629d4d92a9778f5aa1c as builder
FROM python:3.12.4-alpine3.19@sha256:ef3397d09070efd36583e83d2619cf8006158641e5b6b629d4d92a9778f5aa1c AS builder
# Export var for specific actions on linux/arm/v7
ARG TARGETPLATFORM
@ -80,6 +80,6 @@ USER ui:ui
HEALTHCHECK --interval=10s --timeout=10s --start-period=30s --retries=6 CMD /usr/share/bunkerweb/helpers/healthcheck-ui.sh
ENV PYTHONPATH /usr/share/bunkerweb/deps/python
ENV PYTHONPATH="/usr/share/bunkerweb/deps/python"
CMD [ "python3", "-m", "gunicorn", "--config", "gunicorn.conf.py", "--user", "ui", "--group", "ui", "--bind", "0.0.0.0:7000" ]