updating to newer base images and updating the entrypoint
This commit is contained in:
parent
a1c29aa2e2
commit
3866e16c9c
|
|
@ -1,11 +1,11 @@
|
||||||
FROM ubuntu:16.04
|
FROM ubuntu:18.04
|
||||||
|
|
||||||
MAINTAINER Isaac A., <isaac@isaacs.site>
|
MAINTAINER Isaac A., <isaac@isaacs.site>
|
||||||
|
|
||||||
RUN apt update \
|
RUN apt update \
|
||||||
&& apt upgrade -y \
|
&& apt upgrade -y \
|
||||||
&& apt install -y lib32gcc1 lib32stdc++6 unzip curl iproute2 libgdiplus \
|
&& apt install -y lib32gcc1 lib32stdc++6 unzip curl iproute2 libgdiplus \
|
||||||
&& curl -sL https://deb.nodesource.com/setup_6.x | bash - \
|
&& curl -sL https://deb.nodesource.com/setup_10.x | bash - \
|
||||||
&& apt install -y nodejs \
|
&& apt install -y nodejs \
|
||||||
&& mkdir /node_modules \
|
&& mkdir /node_modules \
|
||||||
&& npm install --prefix / ws \
|
&& npm install --prefix / ws \
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ echo ":/home/container$ ${MODIFIED_STARTUP}"
|
||||||
# OxideMod has been replaced with uMod
|
# OxideMod has been replaced with uMod
|
||||||
if [ -f OXIDE_FLAG ] || [ "${OXIDE}" = 1 ] || [ "${UMOD}" = 1 ]; then
|
if [ -f OXIDE_FLAG ] || [ "${OXIDE}" = 1 ] || [ "${UMOD}" = 1 ]; then
|
||||||
echo "Updating uMod..."
|
echo "Updating uMod..."
|
||||||
curl -sSL "https://umod.org/games/rust/download" > umod.zip
|
curl -sSL "https://umod.org/games/rust/download/develop" > umod.zip
|
||||||
unzip -o -q umod.zip
|
unzip -o -q umod.zip
|
||||||
rm umod.zip
|
rm umod.zip
|
||||||
echo "Done updating uMod!"
|
echo "Done updating uMod!"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user