Normalize all the line endings
This commit is contained in:
78
.github/workflows/box64.yml
vendored
78
.github/workflows/box64.yml
vendored
@@ -1,39 +1,39 @@
|
|||||||
name: build box64
|
name: build box64
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: "0 0 * * 1"
|
- cron: "0 0 * * 1"
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
paths:
|
paths:
|
||||||
- box64/**
|
- box64/**
|
||||||
jobs:
|
jobs:
|
||||||
push:
|
push:
|
||||||
name: "yolks:${{ matrix.tag }}"
|
name: "yolks:${{ matrix.tag }}"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
tag:
|
tag:
|
||||||
- box64
|
- box64
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: docker/setup-qemu-action@v3
|
- uses: docker/setup-qemu-action@v3
|
||||||
- uses: docker/setup-buildx-action@v3
|
- uses: docker/setup-buildx-action@v3
|
||||||
with:
|
with:
|
||||||
buildkitd-flags: --debug
|
buildkitd-flags: --debug
|
||||||
- uses: docker/login-action@v3
|
- uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: ${{ github.repository_owner }}
|
username: ${{ github.repository_owner }}
|
||||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||||
- uses: docker/build-push-action@v6
|
- uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
context: ./box64
|
context: ./box64
|
||||||
file: ./${{ matrix.tag }}/Dockerfile
|
file: ./${{ matrix.tag }}/Dockerfile
|
||||||
platforms: linux/arm64
|
platforms: linux/arm64
|
||||||
push: true
|
push: true
|
||||||
tags: |
|
tags: |
|
||||||
ghcr.io/pelican-eggs/yolks:${{ matrix.tag }}
|
ghcr.io/pelican-eggs/yolks:${{ matrix.tag }}
|
||||||
ghcr.io/parkervcp/yolks:${{ matrix.tag }}
|
ghcr.io/parkervcp/yolks:${{ matrix.tag }}
|
||||||
|
88
.github/workflows/dart.yml
vendored
88
.github/workflows/dart.yml
vendored
@@ -1,44 +1,44 @@
|
|||||||
name: build dart
|
name: build dart
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: "0 0 * * 1"
|
- cron: "0 0 * * 1"
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
paths:
|
paths:
|
||||||
- dart/**
|
- dart/**
|
||||||
jobs:
|
jobs:
|
||||||
push:
|
push:
|
||||||
name: "yolks:dart_${{ matrix.tag }}"
|
name: "yolks:dart_${{ matrix.tag }}"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
tag:
|
tag:
|
||||||
- '2.17'
|
- '2.17'
|
||||||
- '2.18'
|
- '2.18'
|
||||||
- '2.19'
|
- '2.19'
|
||||||
- '3.3'
|
- '3.3'
|
||||||
- 'stable'
|
- 'stable'
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
# Setup QEMU for ARM64 Build
|
# Setup QEMU for ARM64 Build
|
||||||
- uses: docker/setup-qemu-action@v3
|
- uses: docker/setup-qemu-action@v3
|
||||||
- uses: docker/setup-buildx-action@v3
|
- uses: docker/setup-buildx-action@v3
|
||||||
with:
|
with:
|
||||||
buildkitd-flags: --debug
|
buildkitd-flags: --debug
|
||||||
- uses: docker/login-action@v3
|
- uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: ghcr.io
|
registry: ghcr.io
|
||||||
username: ${{ github.repository_owner }}
|
username: ${{ github.repository_owner }}
|
||||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||||
- uses: docker/build-push-action@v6
|
- uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
context: ./dart
|
context: ./dart
|
||||||
file: ./dart/${{ matrix.tag }}/Dockerfile
|
file: ./dart/${{ matrix.tag }}/Dockerfile
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
push: true
|
push: true
|
||||||
tags: |
|
tags: |
|
||||||
ghcr.io/pelican-eggs/yolks:dart_${{ matrix.tag }}
|
ghcr.io/pelican-eggs/yolks:dart_${{ matrix.tag }}
|
||||||
ghcr.io/parkervcp/yolks:dart_${{ matrix.tag }}
|
ghcr.io/parkervcp/yolks:dart_${{ matrix.tag }}
|
||||||
|
@@ -1,18 +1,18 @@
|
|||||||
FROM --platform=$TARGETOS/$TARGETARCH dart:2.17
|
FROM --platform=$TARGETOS/$TARGETARCH dart:2.17
|
||||||
|
|
||||||
LABEL author="Alden Bansemer" maintainer="alden@knoban.com"
|
LABEL author="Alden Bansemer" maintainer="alden@knoban.com"
|
||||||
|
|
||||||
RUN apt update \
|
RUN apt update \
|
||||||
&& apt -y install iproute2 git ca-certificates tzdata tini \
|
&& apt -y install iproute2 git ca-certificates tzdata tini \
|
||||||
&& useradd -m -d /home/container container
|
&& useradd -m -d /home/container container
|
||||||
|
|
||||||
USER container
|
USER container
|
||||||
ENV USER=container HOME=/home/container
|
ENV USER=container HOME=/home/container
|
||||||
WORKDIR /home/container
|
WORKDIR /home/container
|
||||||
|
|
||||||
STOPSIGNAL SIGINT
|
STOPSIGNAL SIGINT
|
||||||
|
|
||||||
COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh
|
COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh
|
||||||
RUN chmod +x /entrypoint.sh
|
RUN chmod +x /entrypoint.sh
|
||||||
ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
|
ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
|
||||||
CMD ["/entrypoint.sh"]
|
CMD ["/entrypoint.sh"]
|
||||||
|
@@ -1,18 +1,18 @@
|
|||||||
FROM --platform=$TARGETOS/$TARGETARCH dart:2.18
|
FROM --platform=$TARGETOS/$TARGETARCH dart:2.18
|
||||||
|
|
||||||
LABEL author="Alden Bansemer" maintainer="alden@knoban.com"
|
LABEL author="Alden Bansemer" maintainer="alden@knoban.com"
|
||||||
|
|
||||||
RUN apt update \
|
RUN apt update \
|
||||||
&& apt -y install iproute2 git ca-certificates tzdata tini \
|
&& apt -y install iproute2 git ca-certificates tzdata tini \
|
||||||
&& useradd -m -d /home/container container
|
&& useradd -m -d /home/container container
|
||||||
|
|
||||||
USER container
|
USER container
|
||||||
ENV USER=container HOME=/home/container
|
ENV USER=container HOME=/home/container
|
||||||
WORKDIR /home/container
|
WORKDIR /home/container
|
||||||
|
|
||||||
STOPSIGNAL SIGINT
|
STOPSIGNAL SIGINT
|
||||||
|
|
||||||
COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh
|
COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh
|
||||||
RUN chmod +x /entrypoint.sh
|
RUN chmod +x /entrypoint.sh
|
||||||
ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
|
ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
|
||||||
CMD ["/entrypoint.sh"]
|
CMD ["/entrypoint.sh"]
|
||||||
|
@@ -1,18 +1,18 @@
|
|||||||
FROM --platform=$TARGETOS/$TARGETARCH dart:2.19
|
FROM --platform=$TARGETOS/$TARGETARCH dart:2.19
|
||||||
|
|
||||||
LABEL author="Alden Bansemer" maintainer="alden@knoban.com"
|
LABEL author="Alden Bansemer" maintainer="alden@knoban.com"
|
||||||
|
|
||||||
RUN apt update \
|
RUN apt update \
|
||||||
&& apt -y install iproute2 git ca-certificates tzdata tini \
|
&& apt -y install iproute2 git ca-certificates tzdata tini \
|
||||||
&& useradd -m -d /home/container container
|
&& useradd -m -d /home/container container
|
||||||
|
|
||||||
USER container
|
USER container
|
||||||
ENV USER=container HOME=/home/container
|
ENV USER=container HOME=/home/container
|
||||||
WORKDIR /home/container
|
WORKDIR /home/container
|
||||||
|
|
||||||
STOPSIGNAL SIGINT
|
STOPSIGNAL SIGINT
|
||||||
|
|
||||||
COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh
|
COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh
|
||||||
RUN chmod +x /entrypoint.sh
|
RUN chmod +x /entrypoint.sh
|
||||||
ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
|
ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
|
||||||
CMD ["/entrypoint.sh"]
|
CMD ["/entrypoint.sh"]
|
||||||
|
@@ -1,25 +1,25 @@
|
|||||||
FROM --platform=$TARGETOS/$TARGETARCH ghcr.io/parkervcp/yolks:debian
|
FROM --platform=$TARGETOS/$TARGETARCH ghcr.io/parkervcp/yolks:debian
|
||||||
|
|
||||||
LABEL author="Torsten Widmann" maintainer="info@goover.de"
|
LABEL author="Torsten Widmann" maintainer="info@goover.de"
|
||||||
|
|
||||||
ENV DEBIAN_FRONTEND=noninteractive
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
RUN apt update -y \
|
RUN apt update -y \
|
||||||
&& apt upgrade -y \
|
&& apt upgrade -y \
|
||||||
&& apt install -y apt-transport-https wget curl iproute2 libgdiplus tini \
|
&& apt install -y apt-transport-https wget curl iproute2 libgdiplus tini \
|
||||||
&& wget https://dot.net/v1/dotnet-install.sh \
|
&& wget https://dot.net/v1/dotnet-install.sh \
|
||||||
&& D_V="$(curl -sSL https://dotnet.microsoft.com/en-us/download/dotnet/7.0 | grep -i '<h3 id="sdk-7.*">SDK 7.*.*</h3>' | head -1 | awk -F\" '{print $3}' | awk '{print $2;}' | sed 's/<\/h3>//g')" \
|
&& D_V="$(curl -sSL https://dotnet.microsoft.com/en-us/download/dotnet/7.0 | grep -i '<h3 id="sdk-7.*">SDK 7.*.*</h3>' | head -1 | awk -F\" '{print $3}' | awk '{print $2;}' | sed 's/<\/h3>//g')" \
|
||||||
&& chmod +x dotnet-install.sh \
|
&& chmod +x dotnet-install.sh \
|
||||||
&& ./dotnet-install.sh -i /usr/share -v $D_V \
|
&& ./dotnet-install.sh -i /usr/share -v $D_V \
|
||||||
&& ln -s /usr/share/dotnet /usr/bin/dotnet
|
&& ln -s /usr/share/dotnet /usr/bin/dotnet
|
||||||
|
|
||||||
USER container
|
USER container
|
||||||
ENV USER=container HOME=/home/container
|
ENV USER=container HOME=/home/container
|
||||||
WORKDIR /home/container
|
WORKDIR /home/container
|
||||||
|
|
||||||
STOPSIGNAL SIGINT
|
STOPSIGNAL SIGINT
|
||||||
|
|
||||||
COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh
|
COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh
|
||||||
RUN chmod +x /entrypoint.sh
|
RUN chmod +x /entrypoint.sh
|
||||||
ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
|
ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
|
||||||
CMD ["/entrypoint.sh"]
|
CMD ["/entrypoint.sh"]
|
||||||
|
@@ -1,25 +1,25 @@
|
|||||||
FROM --platform=$TARGETOS/$TARGETARCH ghcr.io/parkervcp/yolks:debian
|
FROM --platform=$TARGETOS/$TARGETARCH ghcr.io/parkervcp/yolks:debian
|
||||||
|
|
||||||
LABEL author="Torsten Widmann" maintainer="info@goover.de"
|
LABEL author="Torsten Widmann" maintainer="info@goover.de"
|
||||||
|
|
||||||
ENV DEBIAN_FRONTEND=noninteractive
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
RUN apt update -y \
|
RUN apt update -y \
|
||||||
&& apt upgrade -y \
|
&& apt upgrade -y \
|
||||||
&& apt install -y apt-transport-https wget curl iproute2 libgdiplus tini \
|
&& apt install -y apt-transport-https wget curl iproute2 libgdiplus tini \
|
||||||
&& wget https://dot.net/v1/dotnet-install.sh \
|
&& wget https://dot.net/v1/dotnet-install.sh \
|
||||||
&& D_V="$(curl -sSL https://dotnet.microsoft.com/en-us/download/dotnet/9.0 | grep -i '<h3 id="sdk-9.*">SDK 9.*.*</h3>' | head -1 | awk -F\" '{print $3}' | awk '{print $2;}' | sed 's/<\/h3>//g')" \
|
&& D_V="$(curl -sSL https://dotnet.microsoft.com/en-us/download/dotnet/9.0 | grep -i '<h3 id="sdk-9.*">SDK 9.*.*</h3>' | head -1 | awk -F\" '{print $3}' | awk '{print $2;}' | sed 's/<\/h3>//g')" \
|
||||||
&& chmod +x dotnet-install.sh \
|
&& chmod +x dotnet-install.sh \
|
||||||
&& ./dotnet-install.sh -i /usr/share -v $D_V \
|
&& ./dotnet-install.sh -i /usr/share -v $D_V \
|
||||||
&& ln -s /usr/share/dotnet /usr/bin/dotnet
|
&& ln -s /usr/share/dotnet /usr/bin/dotnet
|
||||||
|
|
||||||
USER container
|
USER container
|
||||||
ENV USER=container HOME=/home/container
|
ENV USER=container HOME=/home/container
|
||||||
WORKDIR /home/container
|
WORKDIR /home/container
|
||||||
|
|
||||||
STOPSIGNAL SIGINT
|
STOPSIGNAL SIGINT
|
||||||
|
|
||||||
COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh
|
COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh
|
||||||
RUN chmod +x /entrypoint.sh
|
RUN chmod +x /entrypoint.sh
|
||||||
ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
|
ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
|
||||||
CMD ["/entrypoint.sh"]
|
CMD ["/entrypoint.sh"]
|
||||||
|
@@ -1,16 +1,16 @@
|
|||||||
FROM --platform=$TARGETOS/$TARGETARCH erlang:25-alpine
|
FROM --platform=$TARGETOS/$TARGETARCH erlang:25-alpine
|
||||||
|
|
||||||
LABEL author="Pascal Zarrad" maintainer="p.zarrad@outlook.de"
|
LABEL author="Pascal Zarrad" maintainer="p.zarrad@outlook.de"
|
||||||
|
|
||||||
LABEL org.opencontainers.image.source="https://github.com/pterodactyl/yolks"
|
LABEL org.opencontainers.image.source="https://github.com/pterodactyl/yolks"
|
||||||
LABEL org.opencontainers.image.licenses=MIT
|
LABEL org.opencontainers.image.licenses=MIT
|
||||||
|
|
||||||
RUN apk add --update --no-cache ca-certificates curl git openssl sqlite tar tzdata iproute2 \
|
RUN apk add --update --no-cache ca-certificates curl git openssl sqlite tar tzdata iproute2 \
|
||||||
&& adduser -D -h /home/container container
|
&& adduser -D -h /home/container container
|
||||||
|
|
||||||
USER container
|
USER container
|
||||||
ENV USER=container HOME=/home/container
|
ENV USER=container HOME=/home/container
|
||||||
WORKDIR /home/container
|
WORKDIR /home/container
|
||||||
|
|
||||||
COPY ./../entrypoint.sh /entrypoint.sh
|
COPY ./../entrypoint.sh /entrypoint.sh
|
||||||
CMD [ "/bin/ash", "/entrypoint.sh" ]
|
CMD [ "/bin/ash", "/entrypoint.sh" ]
|
||||||
|
@@ -1,16 +1,16 @@
|
|||||||
FROM --platform=$TARGETOS/$TARGETARCH erlang:26-alpine
|
FROM --platform=$TARGETOS/$TARGETARCH erlang:26-alpine
|
||||||
|
|
||||||
LABEL author="Pascal Zarrad" maintainer="p.zarrad@outlook.de"
|
LABEL author="Pascal Zarrad" maintainer="p.zarrad@outlook.de"
|
||||||
|
|
||||||
LABEL org.opencontainers.image.source="https://github.com/pterodactyl/yolks"
|
LABEL org.opencontainers.image.source="https://github.com/pterodactyl/yolks"
|
||||||
LABEL org.opencontainers.image.licenses=MIT
|
LABEL org.opencontainers.image.licenses=MIT
|
||||||
|
|
||||||
RUN apk add --update --no-cache ca-certificates curl git openssl sqlite tar tzdata iproute2 \
|
RUN apk add --update --no-cache ca-certificates curl git openssl sqlite tar tzdata iproute2 \
|
||||||
&& adduser -D -h /home/container container
|
&& adduser -D -h /home/container container
|
||||||
|
|
||||||
USER container
|
USER container
|
||||||
ENV USER=container HOME=/home/container
|
ENV USER=container HOME=/home/container
|
||||||
WORKDIR /home/container
|
WORKDIR /home/container
|
||||||
|
|
||||||
COPY ./../entrypoint.sh /entrypoint.sh
|
COPY ./../entrypoint.sh /entrypoint.sh
|
||||||
CMD [ "/bin/ash", "/entrypoint.sh" ]
|
CMD [ "/bin/ash", "/entrypoint.sh" ]
|
||||||
|
@@ -1,16 +1,16 @@
|
|||||||
FROM --platform=$TARGETOS/$TARGETARCH ubuntu:22.04
|
FROM --platform=$TARGETOS/$TARGETARCH ubuntu:22.04
|
||||||
ENV DEBIAN_FRONTEND=noninteractive
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
RUN apt update -y \
|
RUN apt update -y \
|
||||||
&& apt install -y curl ca-certificates openssl git tar gnupg2 sqlite3 fontconfig tzdata iproute2 libfreetype6 software-properties-common \
|
&& apt install -y curl ca-certificates openssl git tar gnupg2 sqlite3 fontconfig tzdata iproute2 libfreetype6 software-properties-common \
|
||||||
&& useradd -d /home/container -m container
|
&& useradd -d /home/container -m container
|
||||||
|
|
||||||
RUN add-apt-repository -y ppa:minetestdevs/stable
|
RUN add-apt-repository -y ppa:minetestdevs/stable
|
||||||
RUN apt update && apt -y install minetest
|
RUN apt update && apt -y install minetest
|
||||||
|
|
||||||
USER container
|
USER container
|
||||||
ENV USER=container HOME=/home/container
|
ENV USER=container HOME=/home/container
|
||||||
WORKDIR /home/container
|
WORKDIR /home/container
|
||||||
|
|
||||||
COPY ./entrypoint.sh /entrypoint.sh
|
COPY ./entrypoint.sh /entrypoint.sh
|
||||||
CMD [ "/bin/bash", "/entrypoint.sh" ]
|
CMD [ "/bin/bash", "/entrypoint.sh" ]
|
@@ -1,23 +1,23 @@
|
|||||||
FROM --platform=$TARGETOS/$TARGETARCH ubuntu:20.04
|
FROM --platform=$TARGETOS/$TARGETARCH ubuntu:20.04
|
||||||
|
|
||||||
ENV DEBIAN_FRONTEND=noninteractive
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
## add container user
|
## add container user
|
||||||
RUN useradd -m -d /home/container -s /bin/bash container
|
RUN useradd -m -d /home/container -s /bin/bash container
|
||||||
|
|
||||||
## update base packages
|
## update base packages
|
||||||
RUN apt update \
|
RUN apt update \
|
||||||
&& apt upgrade -y
|
&& apt upgrade -y
|
||||||
|
|
||||||
## install dependencies
|
## install dependencies
|
||||||
RUN apt install -y iproute2 tar libssl1.1 curl git default-libmysqlclient-dev libmysqlclient-dev libreadline-gplv2-dev libncurses5-dev libncursesw5-dev \
|
RUN apt install -y iproute2 tar libssl1.1 curl git default-libmysqlclient-dev libmysqlclient-dev libreadline-gplv2-dev libncurses5-dev libncursesw5-dev \
|
||||||
libtool zip unzip libncurses5 libncursesw5 python3 openssl locales ffmpeg apt-transport-https libc6 binutils xz-utils liblua5.1-0
|
libtool zip unzip libncurses5 libncursesw5 python3 openssl locales ffmpeg apt-transport-https libc6 binutils xz-utils liblua5.1-0
|
||||||
|
|
||||||
## configure locale
|
## configure locale
|
||||||
RUN update-locale lang=en_US.UTF-8 \
|
RUN update-locale lang=en_US.UTF-8 \
|
||||||
&& dpkg-reconfigure --frontend noninteractive locales
|
&& dpkg-reconfigure --frontend noninteractive locales
|
||||||
|
|
||||||
WORKDIR /home/container
|
WORKDIR /home/container
|
||||||
|
|
||||||
COPY ./entrypoint.sh /entrypoint.sh
|
COPY ./entrypoint.sh /entrypoint.sh
|
||||||
CMD [ "/bin/bash", "/entrypoint.sh" ]
|
CMD [ "/bin/bash", "/entrypoint.sh" ]
|
@@ -1,33 +1,33 @@
|
|||||||
FROM --platform=$TARGETOS/$TARGETARCH debian:bookworm-slim
|
FROM --platform=$TARGETOS/$TARGETARCH debian:bookworm-slim
|
||||||
|
|
||||||
LABEL author="QuintenQVD" maintainer="josdekurk@gmail.com"
|
LABEL author="QuintenQVD" maintainer="josdekurk@gmail.com"
|
||||||
|
|
||||||
RUN apt update \
|
RUN apt update \
|
||||||
&& apt -y upgrade
|
&& apt -y upgrade
|
||||||
RUN dpkg --add-architecture i386 \
|
RUN dpkg --add-architecture i386 \
|
||||||
&& apt update \
|
&& apt update \
|
||||||
&& apt upgrade -y \
|
&& apt upgrade -y \
|
||||||
&& apt install -y libstdc++6 lib32stdc++6 tar wget curl iproute2 openssl fontconfig dirmngr ca-certificates dnsutils tzdata zip tini \
|
&& apt install -y libstdc++6 lib32stdc++6 tar wget curl iproute2 openssl fontconfig dirmngr ca-certificates dnsutils tzdata zip tini \
|
||||||
&& apt install -y libtbb12:i386 libtbb-dev:i386 libicu-dev:i386 \
|
&& apt install -y libtbb12:i386 libtbb-dev:i386 libicu-dev:i386 \
|
||||||
&& useradd -d /home/container -m container
|
&& useradd -d /home/container -m container
|
||||||
|
|
||||||
RUN mkdir -p /run/systemd && echo 'docker' > /run/systemd/container
|
RUN mkdir -p /run/systemd && echo 'docker' > /run/systemd/container
|
||||||
RUN rm -rf /var/lib/apt/lists/*
|
RUN rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# Temp fix for things that still need libssl1.1 32 bit
|
# Temp fix for things that still need libssl1.1 32 bit
|
||||||
RUN if [ "$(uname -m)" = "x86_64" ]; then \
|
RUN if [ "$(uname -m)" = "x86_64" ]; then \
|
||||||
wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.0g-2ubuntu4_i386.deb && \
|
wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.0g-2ubuntu4_i386.deb && \
|
||||||
dpkg -i libssl1.1_1.1.0g-2ubuntu4_i386.deb && \
|
dpkg -i libssl1.1_1.1.0g-2ubuntu4_i386.deb && \
|
||||||
rm libssl1.1_1.1.0g-2ubuntu4_i386.deb; \
|
rm libssl1.1_1.1.0g-2ubuntu4_i386.deb; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
USER container
|
USER container
|
||||||
ENV USER=container HOME=/home/container
|
ENV USER=container HOME=/home/container
|
||||||
WORKDIR /home/container
|
WORKDIR /home/container
|
||||||
|
|
||||||
STOPSIGNAL SIGINT
|
STOPSIGNAL SIGINT
|
||||||
|
|
||||||
COPY --chown=container:container ./entrypoint.sh /entrypoint.sh
|
COPY --chown=container:container ./entrypoint.sh /entrypoint.sh
|
||||||
RUN chmod +x /entrypoint.sh
|
RUN chmod +x /entrypoint.sh
|
||||||
ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
|
ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
|
||||||
CMD ["/entrypoint.sh"]
|
CMD ["/entrypoint.sh"]
|
||||||
|
@@ -1,38 +1,38 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2021 Matthew Penner
|
# Copyright (c) 2021 Matthew Penner
|
||||||
#
|
#
|
||||||
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
# of this software and associated documentation files (the "Software"), to deal
|
# of this software and associated documentation files (the "Software"), to deal
|
||||||
# in the Software without restriction, including without limitation the rights
|
# in the Software without restriction, including without limitation the rights
|
||||||
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
# copies of the Software, and to permit persons to whom the Software is
|
# copies of the Software, and to permit persons to whom the Software is
|
||||||
# furnished to do so, subject to the following conditions:
|
# furnished to do so, subject to the following conditions:
|
||||||
#
|
#
|
||||||
# The above copyright notice and this permission notice shall be included in all
|
# The above copyright notice and this permission notice shall be included in all
|
||||||
# copies or substantial portions of the Software.
|
# copies or substantial portions of the Software.
|
||||||
#
|
#
|
||||||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
# SOFTWARE.
|
# SOFTWARE.
|
||||||
#
|
#
|
||||||
|
|
||||||
FROM --platform=$TARGETOS/$TARGETARCH golang:1.22-alpine
|
FROM --platform=$TARGETOS/$TARGETARCH golang:1.22-alpine
|
||||||
|
|
||||||
LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io"
|
LABEL author="Matthew Penner" maintainer="matthew@pterodactyl.io"
|
||||||
|
|
||||||
LABEL org.opencontainers.image.source="https://github.com/pterodactyl/yolks"
|
LABEL org.opencontainers.image.source="https://github.com/pterodactyl/yolks"
|
||||||
LABEL org.opencontainers.image.licenses=MIT
|
LABEL org.opencontainers.image.licenses=MIT
|
||||||
|
|
||||||
RUN apk add --update --no-cache ca-certificates tzdata \
|
RUN apk add --update --no-cache ca-certificates tzdata \
|
||||||
&& adduser -D -h /home/container container
|
&& adduser -D -h /home/container container
|
||||||
|
|
||||||
USER container
|
USER container
|
||||||
ENV USER=container HOME=/home/container
|
ENV USER=container HOME=/home/container
|
||||||
WORKDIR /home/container
|
WORKDIR /home/container
|
||||||
|
|
||||||
COPY ./../entrypoint.sh /entrypoint.sh
|
COPY ./../entrypoint.sh /entrypoint.sh
|
||||||
CMD [ "/bin/ash", "/entrypoint.sh" ]
|
CMD [ "/bin/ash", "/entrypoint.sh" ]
|
||||||
|
@@ -1,12 +1,12 @@
|
|||||||
FROM --platform=$TARGETOS/$TARGETARCH golang:1.23-alpine
|
FROM --platform=$TARGETOS/$TARGETARCH golang:1.23-alpine
|
||||||
|
|
||||||
|
|
||||||
RUN apk add --update --no-cache ca-certificates tzdata \
|
RUN apk add --update --no-cache ca-certificates tzdata \
|
||||||
&& adduser -D -h /home/container container
|
&& adduser -D -h /home/container container
|
||||||
|
|
||||||
USER container
|
USER container
|
||||||
ENV USER=container HOME=/home/container
|
ENV USER=container HOME=/home/container
|
||||||
WORKDIR /home/container
|
WORKDIR /home/container
|
||||||
|
|
||||||
COPY ./../entrypoint.sh /entrypoint.sh
|
COPY ./../entrypoint.sh /entrypoint.sh
|
||||||
CMD [ "/bin/ash", "/entrypoint.sh" ]
|
CMD [ "/bin/ash", "/entrypoint.sh" ]
|
||||||
|
@@ -1,36 +1,36 @@
|
|||||||
FROM --platform=$TARGETOS/$TARGETARCH eclipse-temurin:21-jdk-jammy
|
FROM --platform=$TARGETOS/$TARGETARCH eclipse-temurin:21-jdk-jammy
|
||||||
|
|
||||||
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
|
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
|
||||||
|
|
||||||
LABEL org.opencontainers.image.source="https://github.com/pterodactyl/yolks"
|
LABEL org.opencontainers.image.source="https://github.com/pterodactyl/yolks"
|
||||||
LABEL org.opencontainers.image.licenses=MIT
|
LABEL org.opencontainers.image.licenses=MIT
|
||||||
|
|
||||||
RUN apt update -y \
|
RUN apt update -y \
|
||||||
&& apt install -y \
|
&& apt install -y \
|
||||||
curl \
|
curl \
|
||||||
lsof \
|
lsof \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
openssl \
|
openssl \
|
||||||
git \
|
git \
|
||||||
tar \
|
tar \
|
||||||
sqlite3 \
|
sqlite3 \
|
||||||
fontconfig \
|
fontconfig \
|
||||||
tzdata \
|
tzdata \
|
||||||
iproute2 \
|
iproute2 \
|
||||||
libfreetype6 \
|
libfreetype6 \
|
||||||
tini \
|
tini \
|
||||||
zip \
|
zip \
|
||||||
unzip
|
unzip
|
||||||
|
|
||||||
## Setup user and working directory
|
## Setup user and working directory
|
||||||
RUN useradd -m -d /home/container -s /bin/bash container
|
RUN useradd -m -d /home/container -s /bin/bash container
|
||||||
USER container
|
USER container
|
||||||
ENV USER=container HOME=/home/container
|
ENV USER=container HOME=/home/container
|
||||||
WORKDIR /home/container
|
WORKDIR /home/container
|
||||||
|
|
||||||
STOPSIGNAL SIGINT
|
STOPSIGNAL SIGINT
|
||||||
|
|
||||||
COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh
|
COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh
|
||||||
RUN chmod +x /entrypoint.sh
|
RUN chmod +x /entrypoint.sh
|
||||||
ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
|
ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
|
||||||
CMD ["/entrypoint.sh"]
|
CMD ["/entrypoint.sh"]
|
||||||
|
@@ -1,25 +1,25 @@
|
|||||||
FROM --platform=$TARGETOS/$TARGETARCH node:22-bookworm-slim
|
FROM --platform=$TARGETOS/$TARGETARCH node:22-bookworm-slim
|
||||||
|
|
||||||
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
|
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
|
||||||
|
|
||||||
RUN apt update \
|
RUN apt update \
|
||||||
&& apt -y install ffmpeg iproute2 git sqlite3 libsqlite3-dev python3 python3-dev ca-certificates dnsutils tzdata zip tar curl build-essential libtool iputils-ping libnss3 tini \
|
&& apt -y install ffmpeg iproute2 git sqlite3 libsqlite3-dev python3 python3-dev ca-certificates dnsutils tzdata zip tar curl build-essential libtool iputils-ping libnss3 tini \
|
||||||
&& useradd -m -d /home/container container
|
&& useradd -m -d /home/container container
|
||||||
|
|
||||||
RUN npm install npm@latest typescript ts-node @types/node --location=global
|
RUN npm install npm@latest typescript ts-node @types/node --location=global
|
||||||
|
|
||||||
# install pnpm
|
# install pnpm
|
||||||
RUN npm install -g corepack
|
RUN npm install -g corepack
|
||||||
RUN corepack enable
|
RUN corepack enable
|
||||||
RUN corepack prepare pnpm@latest --activate
|
RUN corepack prepare pnpm@latest --activate
|
||||||
|
|
||||||
USER container
|
USER container
|
||||||
ENV USER=container HOME=/home/container
|
ENV USER=container HOME=/home/container
|
||||||
WORKDIR /home/container
|
WORKDIR /home/container
|
||||||
|
|
||||||
STOPSIGNAL SIGINT
|
STOPSIGNAL SIGINT
|
||||||
|
|
||||||
COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh
|
COPY --chown=container:container ./../entrypoint.sh /entrypoint.sh
|
||||||
RUN chmod +x /entrypoint.sh
|
RUN chmod +x /entrypoint.sh
|
||||||
ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
|
ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
|
||||||
CMD ["/entrypoint.sh"]
|
CMD ["/entrypoint.sh"]
|
||||||
|
Reference in New Issue
Block a user