Backt o master

This commit is contained in:
Michael (Parker) Parker 2018-02-25 14:23:55 -05:00
parent e34921a403
commit 5285ad483c
2 changed files with 0 additions and 28 deletions

View File

@ -1,17 +0,0 @@
FROM ubuntu:16.04
MAINTAINER mrkrabs, <bl4ckspr4y@protonmail.com>
RUN apt update \
&& apt upgrade -y \
&& apt install -y libstdc++6 lib32stdc++6 tar curl iproute2 openssl \
&& useradd -d /home/container -m container
USER container
ENV USER=container HOME=/home/container
WORKDIR /home/container
COPY ./entrypoint.sh /entrypoint.sh
CMD ["/bin/bash", "/entrypoint.sh"]

View File

@ -1,11 +0,0 @@
#!/bin/bash
sleep 3
cd /home/container
export INTERNAL_IP=`ip route get 1 | awk '{print $NF;exit}'`
MODIFIED_STARTUP=`eval echo $(echo ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')`
echo ":/home/container$ ${MODIFIED_STARTUP}"
${MODIFIED_STARTUP}