Skip to content

Commit 41c1a30

Browse files
committed
fix: ENV not ARG
1 parent 6712417 commit 41c1a30

File tree

12 files changed

+29
-30
lines changed

12 files changed

+29
-30
lines changed

base/debian/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ LABEL org.opencontainers.image.source="https://github.com/CubeCoders/docke
77
LABEL org.opencontainers.image.licenses=MIT
88

99
ENV AMP_CONTAINER="DOCKER"
10+
ENV DEBIAN_FRONTEND="noninteractive"
1011

11-
ARG DEBIAN_FRONTEND="noninteractive"
1212
ARG TARGETARCH
1313

1414
# Update base packages and install dependencies

java/lts/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ FROM ghcr.io/cubecoders/amp:debian
55

66
LABEL org.opencontainers.image.licenses=MIT
77

8-
ARG DEBIAN_FRONTEND="noninteractive"
8+
ENV DEBIAN_FRONTEND="noninteractive"
99

1010
# Install required packages and Temurin Java LTS versions
1111
RUN set -eux; \

mono/latest/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ FROM ghcr.io/cubecoders/amp:debian
55

66
LABEL org.opencontainers.image.licenses=MIT
77

8-
ARG DEBIAN_FRONTEND="noninteractive"
8+
ENV DEBIAN_FRONTEND="noninteractive"
99

1010
# Install required packages and Mono
1111
RUN set -eux; \

python/3.11/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ FROM ghcr.io/cubecoders/amp:debian
55
LABEL org.opencontainers.image.licenses=MIT
66

77
ENV PIP_DISABLE_PIP_VERSION_CHECK="1"
8-
9-
ARG DEBIAN_FRONTEND="noninteractive"
8+
ENV DEBIAN_FRONTEND="noninteractive"
109

1110
# System Python (3.11) from Debian
1211
RUN set -eux; \

python/3/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ FROM python:3.12-slim-bookworm AS py312
77
FROM ghcr.io/cubecoders/amp:python-3.11
88
LABEL org.opencontainers.image.licenses=MIT
99

10-
ARG DEBIAN_FRONTEND="noninteractive"
10+
ENV DEBIAN_FRONTEND="noninteractive"
1111

1212
# Drop in upstream Python 3.10
1313
COPY --from=py310 /usr/local/bin/python3.10 /usr/local/bin/

scripts/base/ampstart.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ if [[ -n "${AMP_CONTAINER_DEPS:-}" ]]; then
3535
fi
3636
if ((${#REQUIRED_DEPS[@]})); then
3737
echo "[Info] Installing extra dependencies..."
38-
DEBIAN_FRONTEND="noninteractive"
3938
apt-get update
4039
apt-get install -o APT::Keep-Downloaded-Packages="false" -y --no-install-recommends --allow-downgrades "${REQUIRED_DEPS[@]}"
4140
apt-get clean

wine/10-stable/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33

44
FROM debian:bookworm-slim AS depsfinder
55

6-
ARG DEBIAN_FRONTEND="noninteractive"
7-
ARG TARGETARCH
6+
ENV DEBIAN_FRONTEND="noninteractive"
87

8+
ARG TARGETARCH
99
ARG WINE_LINK="https://dl.winehq.org/wine-builds/debian/pool/main/w/wine/"
1010
ARG WINE_BRANCH="stable"
1111
ARG WINE_DIST="bookworm"
@@ -32,9 +32,9 @@ FROM ghcr.io/cubecoders/amp:wine-common
3232

3333
LABEL org.opencontainers.image.licenses=MIT
3434

35-
ARG DEBIAN_FRONTEND="noninteractive"
36-
ARG TARGETARCH
35+
ENV DEBIAN_FRONTEND="noninteractive"
3736

37+
ARG TARGETARCH
3838
ARG WINE_LINK="https://dl.winehq.org/wine-builds/debian/pool/main/w/wine/"
3939
ARG WINE_BRANCH="stable"
4040
ARG WINE_DIST="bookworm"

wine/9-stable/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33

44
FROM debian:bookworm-slim AS depsfinder
55

6-
ARG DEBIAN_FRONTEND="noninteractive"
7-
ARG TARGETARCH
6+
ENV DEBIAN_FRONTEND="noninteractive"
87

8+
ARG TARGETARCH
99
ARG WINE_LINK="https://dl.winehq.org/wine-builds/debian/pool/main/w/wine/"
1010
ARG WINE_BRANCH="stable"
1111
ARG WINE_DIST="bookworm"
@@ -32,9 +32,9 @@ FROM ghcr.io/cubecoders/amp:wine-common
3232

3333
LABEL org.opencontainers.image.licenses=MIT
3434

35-
ARG DEBIAN_FRONTEND="noninteractive"
36-
ARG TARGETARCH
35+
ENV DEBIAN_FRONTEND="noninteractive"
3736

37+
ARG TARGETARCH
3838
ARG WINE_LINK="https://dl.winehq.org/wine-builds/debian/pool/main/w/wine/"
3939
ARG WINE_BRANCH="stable"
4040
ARG WINE_DIST="bookworm"

wine/common/Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33

44
FROM debian:bookworm-slim AS depsfinder
55

6-
ARG DEBIAN_FRONTEND="noninteractive"
7-
ARG TARGETARCH
6+
ENV DEBIAN_FRONTEND="noninteractive"
87

8+
ARG TARGETARCH
99
ARG BUILDS="stable devel staging 10-stable 9-stable"
1010
ARG WINE_DIST="bookworm"
1111

@@ -37,7 +37,8 @@ FROM ghcr.io/cubecoders/amp:debian
3737

3838
LABEL org.opencontainers.image.licenses=MIT
3939

40-
ARG DEBIAN_FRONTEND=noninteractive
40+
ENV DEBIAN_FRONTEND="noninteractive"
41+
4142
ARG TARGETARCH
4243

4344
COPY --from=depsfinder /tmp/wine-files /tmp/wine-files

wine/devel/Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33

44
FROM debian:bookworm-slim AS depsfinder
55

6-
ARG DEBIAN_FRONTEND="noninteractive"
7-
ARG TARGETARCH
6+
ENV DEBIAN_FRONTEND="noninteractive"
87

8+
ARG TARGETARCH
99
ARG WINE_LINK="https://dl.winehq.org/wine-builds/debian/pool/main/w/wine/"
1010
ARG WINE_BRANCH="devel"
1111
ARG WINE_DIST="bookworm"
@@ -31,9 +31,9 @@ FROM ghcr.io/cubecoders/amp:wine-common
3131

3232
LABEL org.opencontainers.image.licenses=MIT
3333

34-
ARG DEBIAN_FRONTEND="noninteractive"
35-
ARG TARGETARCH
34+
ENV DEBIAN_FRONTEND="noninteractive"
3635

36+
ARG TARGETARCH
3737
ARG WINE_LINK="https://dl.winehq.org/wine-builds/debian/pool/main/w/wine/"
3838
ARG WINE_BRANCH="devel"
3939
ARG WINE_DIST="bookworm"

0 commit comments

Comments
 (0)