add more images

This commit is contained in:
obvTiger 2025-02-27 13:00:55 +01:00
parent 3241a41ae6
commit dbb5d933c5
180 changed files with 4993 additions and 999 deletions

20
redis/5/Dockerfile Normal file
View file

@ -0,0 +1,20 @@
# ----------------------------------
# Environment: redis
# ----------------------------------
FROM --platform=$TARGETOS/$TARGETARCH redis:5-bullseye
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
ENV DEBIAN_FRONTEND=noninteractive
RUN apt -y update && \
apt -y upgrade && \
apt -y install iproute2 && \
useradd -d /home/container -m container -s /bin/bash
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
COPY ./entrypoint.sh /entrypoint.sh
CMD ["/bin/bash", "/entrypoint.sh"]

20
redis/6/Dockerfile Normal file
View file

@ -0,0 +1,20 @@
# ----------------------------------
# Environment: redis
# ----------------------------------
FROM --platform=$TARGETOS/$TARGETARCH redis:6-bookworm
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
ENV DEBIAN_FRONTEND=noninteractive
RUN apt -y update && \
apt -y upgrade && \
apt -y install iproute2 && \
useradd -d /home/container -m container -s /bin/bash
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
COPY ./entrypoint.sh /entrypoint.sh
CMD ["/bin/bash", "/entrypoint.sh"]

20
redis/7/Dockerfile Normal file
View file

@ -0,0 +1,20 @@
# ----------------------------------
# Environment: redis
# ----------------------------------
FROM --platform=$TARGETOS/$TARGETARCH redis:7-bookworm
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
ENV DEBIAN_FRONTEND=noninteractive
RUN apt -y update && \
apt -y upgrade && \
apt -y install iproute2 && \
useradd -d /home/container -m container -s /bin/bash
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
COPY ./entrypoint.sh /entrypoint.sh
CMD ["/bin/bash", "/entrypoint.sh"]

13
redis/entrypoint.sh Normal file
View file

@ -0,0 +1,13 @@
#!/bin/bash
cd /home/container
# Make internal Docker IP address available to processes.
INTERNAL_IP=$(ip route get 1 | awk '{print $(NF-2);exit}')
export INTERNAL_IP
# Replace Startup Variables
MODIFIED_STARTUP=$(echo -e ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')
echo ":/home/container$ ${MODIFIED_STARTUP}"
# Run the Server
eval ${MODIFIED_STARTUP}