Last active
April 17, 2018 10:03
-
-
Save airlanggacahya/2d73f49d1cce683a486527a431861223 to your computer and use it in GitHub Desktop.
sample dockerfile for rino
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 ubuntu | |
RUN apt-get update | |
RUN apt-get upgrade -y | |
RUN apt-get -y install git curl | |
RUN curl https://dl.google.com/go/go1.10.1.linux-amd64.tar.gz -o /usr/local/go1.10.1.linux-amd64.tar.gz | |
RUN cd /usr/local/ && tar -xvf go1.10.1.linux-amd64.tar.gz | |
RUN mkdir -p /data/goapp | |
ENV PATH="$PATH:/usr/local/go/bin" | |
ENV GOPATH=/data/goapp | |
RUN go get -v github.com/rinosukmandityo/testweb | |
EXPOSE 8003 | |
ENTRYPOINT exec /data/goapp/bin/testweb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment