Public | Automated Build

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

golang

Docker image for running go applications

usage

make a dockerfile for your application based on this one:

FROM bunnyyiu/docker-golang
ENV HOME /root
RUN apt-get install -y libsqlite3-dev 
RUN go get github.com/robfig/revel/revel
RUN mkdir -p $GOPATH/src/github.com/PacketFire
RUN cd $GOPATH/src/github.com/PacketFire/; git clone https://github.com/PacketFire/goqdb.git
WORKDIR /root
CMD revel run github.com/PacketFire/goqdb prod

run it:

docker build -t bunnyyiu/goqdb .
docker run -d -p 9000:9000 bunnyyiu/goqdb
w3m http://127.0.0.1:9000/
Docker Pull Command
Owner
bunnyyiu
Source Repository

Comments (0)