Fix mongoDB 8 and stop build 4
This commit is contained in:
1
.github/workflows/mongodb.yml
vendored
1
.github/workflows/mongodb.yml
vendored
@@ -17,7 +17,6 @@ jobs:
|
|||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
tag:
|
tag:
|
||||||
- 4
|
|
||||||
- 5
|
- 5
|
||||||
- 6
|
- 6
|
||||||
- 7
|
- 7
|
||||||
|
@@ -212,8 +212,6 @@ is tagged correctly.
|
|||||||
|
|
||||||
### [MongoDB](/mongodb)
|
### [MongoDB](/mongodb)
|
||||||
|
|
||||||
* [`MongoDB 4`](/mongodb/4)
|
|
||||||
* `ghcr.io/parkervcp/yolks:mongodb_4`
|
|
||||||
* [`MongoDB 5`](/mongodb/5)
|
* [`MongoDB 5`](/mongodb/5)
|
||||||
* `ghcr.io/parkervcp/yolks:mongodb_5`
|
* `ghcr.io/parkervcp/yolks:mongodb_5`
|
||||||
* [`MongoDB 6`](/mongodb/6)
|
* [`MongoDB 6`](/mongodb/6)
|
||||||
|
@@ -1,19 +0,0 @@
|
|||||||
# ----------------------------------
|
|
||||||
# Environment: MongoDB
|
|
||||||
# ----------------------------------
|
|
||||||
FROM --platform=$TARGETOS/$TARGETARCH mongo:4-focal
|
|
||||||
|
|
||||||
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
|
|
||||||
|
|
||||||
ENV DEBIAN_FRONTEND=noninteractive
|
|
||||||
|
|
||||||
RUN apt update -y \
|
|
||||||
&& apt install -y netcat 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"]
|
|
@@ -8,7 +8,7 @@ LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
|
|||||||
ENV DEBIAN_FRONTEND=noninteractive
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
RUN apt update -y \
|
RUN apt update -y \
|
||||||
&& apt install -y netcat iproute2 \
|
&& apt install -y netcat-openbsd iproute2 \
|
||||||
&& useradd -d /home/container -m container -s /bin/bash
|
&& useradd -d /home/container -m container -s /bin/bash
|
||||||
|
|
||||||
USER container
|
USER container
|
||||||
|
@@ -1,44 +1,44 @@
|
|||||||
FROM --platform=$TARGETOS/$TARGETARCH node:24-bookworm-slim
|
FROM --platform=$TARGETOS/$TARGETARCH node:24-bookworm-slim
|
||||||
|
|
||||||
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
|
LABEL author="Michael Parker" maintainer="parker@pterodactyl.io"
|
||||||
|
|
||||||
# add container user and set stop signal
|
# add container user and set stop signal
|
||||||
RUN useradd -m -d /home/container container
|
RUN useradd -m -d /home/container container
|
||||||
STOPSIGNAL SIGINT
|
STOPSIGNAL SIGINT
|
||||||
|
|
||||||
RUN apt update \
|
RUN apt update \
|
||||||
&& apt -y install \
|
&& apt -y install \
|
||||||
ffmpeg \
|
ffmpeg \
|
||||||
iproute2 \
|
iproute2 \
|
||||||
git \
|
git \
|
||||||
sqlite3 \
|
sqlite3 \
|
||||||
libsqlite3-dev \
|
libsqlite3-dev \
|
||||||
python3 \
|
python3 \
|
||||||
python3-dev \
|
python3-dev \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
dnsutils \
|
dnsutils \
|
||||||
tzdata \
|
tzdata \
|
||||||
zip \
|
zip \
|
||||||
tar \
|
tar \
|
||||||
curl \
|
curl \
|
||||||
build-essential \
|
build-essential \
|
||||||
libtool \
|
libtool \
|
||||||
iputils-ping \
|
iputils-ping \
|
||||||
libnss3 \
|
libnss3 \
|
||||||
tini
|
tini
|
||||||
|
|
||||||
RUN npm install --global npm@latest typescript ts-node @types/node
|
RUN npm install --global npm@latest typescript ts-node @types/node
|
||||||
|
|
||||||
# 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
|
||||||
|
|
||||||
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