Skip to content

Commit cc6b108

Browse files
committed
fix: align env var with AMP, remove aminstmgr
1 parent fe4084e commit cc6b108

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

base/debian/Dockerfile

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ FROM debian:bookworm-slim
66
LABEL org.opencontainers.image.source="https://github.com/CubeCoders/dockerfiles"
77
LABEL org.opencontainers.image.licenses=MIT
88

9-
ENV AMP_CONTAINER="DOCKER"
9+
ENV AMP_CONTAINER="1"
1010
ENV DEBIAN_FRONTEND="noninteractive"
1111

1212
ARG TARGETARCH
@@ -17,8 +17,8 @@ RUN set -eux; \
1717
apt-get update; \
1818
apt-get install -o APT::Keep-Downloaded-Packages="false" -y \
1919
ca-certificates curl wget tar unzip xz-utils bzip2 \
20-
coreutils procps iproute2 iputils-ping socat jq git git-lfs gnupg tmux dbus gosu \
21-
tini tzdata locales \
20+
coreutils procps iproute2 iputils-ping socat jq git git-lfs gnupg tmux dbus \
21+
tini tzdata locales gosu \
2222
libssl3 libcurl4 libsqlite3-0 libzstd1 libsdl2-2.0-0 libsdl1.2-compat libfontconfig1 \
2323
# Required for Core Keeper
2424
xvfb xauth libxi6 \
@@ -73,14 +73,6 @@ RUN set -eux; \
7373
apt-get install -y ./libssl1.1.deb; \
7474
rm libssl1.1.deb; \
7575
\
76-
# Install AMP instance manager
77-
case "${TARGETARCH}" in \
78-
amd64) wget -q https://cdn-repo.c7rs.com/ampinstmgr-latest.tgz;; \
79-
arm64) wget -q https://cdn-repo.c7rs.com/aarch64/ampinstmgr-latest.tgz;; \
80-
esac; \
81-
tar -xzf ampinstmgr-latest.tgz -C /; \
82-
rm ampinstmgr-latest.tgz; \
83-
\
8476
# Set up locales
8577
sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen; \
8678
locale-gen; \

0 commit comments

Comments
 (0)