123456789101112131415161718 |
- FROM golang:1.7.1-alpine
- MAINTAINER Rabin "https://github.com/shemic"
- ENV NG_DOMAIN="ngrok.dever.cc"
- ENV NG_NAME=ngrok
- ENV NG_HOME=/usr/local/$NG_NAME
- ENV PATH=$PATH:$NG_HOME
- RUN apk add --no-cache git make openssl && \
- git clone https://github.com/inconshreveable/ngrok.git --depth=1 $NG_HOME
- ADD build.sh /
- #RUN sh /build.sh
- EXPOSE 8081
- COPY ngrok.sh /entrypoint/ngrok.sh
|