mirror of
https://github.com/darksaid98/yolks.git
synced 2026-12-02 06:29:01 +00:00
1 file changed
+6
-4
@@ -3,9 +3,11 @@ FROM --platform=$TARGETOS/$TARGETARCH mongo:6-focal
|
|||||||
LABEL author="Michael Parker" maintainer="[email protected]"
|
LABEL author="Michael Parker" maintainer="[email protected]"
|
||||||
|
|
||||||
## install nodejs 18
|
## install nodejs 18
|
||||||
RUN apt update && apt install --no-install-recommends -y curl \
|
RUN apt update && apt install --no-install-recommends -y curl \
|
||||||
&& curl -fsSL https://deb.nodesource.com/setup_18.x | bash - \
|
&& mkdir -p /etc/apt/keyrings \
|
||||||
&& apt install -y nodejs \
|
&& curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg \
|
||||||
|
&& echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list \
|
||||||
|
&& apt update && apt install -y nodejs \
|
||||||
&& npm install -g npm@latest \
|
&& npm install -g npm@latest \
|
||||||
## install bastion reqs
|
## install bastion reqs
|
||||||
&& apt install -y python3 build-essential git libtool netcat ffmpeg iproute2 tzdata tini \
|
&& apt install -y python3 build-essential git libtool netcat ffmpeg iproute2 tzdata tini \
|
||||||
@@ -21,4 +23,4 @@ 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