Last active
January 28, 2017 00:00
-
-
Save 5LICK/d488e9dbb26c236d076895dc321fcb38 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM f69m/ubuntu32:16.04 | |
MAINTAINER Oleg <slicknslick@yahoo.com> | |
ENV DEBIAN_FRONTEND noninteractive | |
# install mono | |
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF | |
RUN echo "deb http://download.mono-project.com/repo/debian wheezy main" | tee /etc/apt/sources.list.d/mono-xamarin.list | |
RUN apt-get update | |
RUN apt-get install -y mono-complete | |
RUN apt-get install unzip | |
# copy and unzip server files | |
RUN mkdir opt/srv | |
COPY env/env.zip /opt/srv/ # env.zip - server files | |
RUN unzip opt/srv/env.zip -d opt/srv | |
# start server | |
RUN chmod +x opt/srv/samp03svr | |
RUN mv opt/srv/samp.sh /usr/local/bin/samp | |
RUN chmod +x /usr/local/bin/samp | |
CMD ["samp", "start"] | |
EXPOSE 7777/udp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment