mirror of
https://github.com/darksaid98/yolks.git
synced 2026-12-01 14:38:59 +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]"
|
||||
|
||||
## install nodejs 18
|
||||
RUN apt update && apt install --no-install-recommends -y curl \
|
||||
&& curl -fsSL https://deb.nodesource.com/setup_18.x | bash - \
|
||||
&& apt install -y nodejs \
|
||||
RUN apt update && apt install --no-install-recommends -y curl \
|
||||
&& mkdir -p /etc/apt/keyrings \
|
||||
&& 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 \
|
||||
## install bastion reqs
|
||||
&& 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
|
||||
RUN chmod +x /entrypoint.sh
|
||||
ENTRYPOINT ["/usr/bin/tini", "-g", "--"]
|
||||
CMD ["/entrypoint.sh"]
|
||||
CMD ["/entrypoint.sh"]
|
||||
Reference in new issue
Block a user