June 2017
Intermediate to advanced
400 pages
10h 32m
English
These steps cover writing and running your application:
FROM alpine ADD ./example/example /example EXPOSE 8000 ENTRYPOINT /example
#!/usr/bin/env bash pushd example env GOOS=linux go build -ldflags "-X main.version=1.0 -X main.builddate=$(date +%s)" popd docker build . -t example docker run -d -p 8000:8000 example
Read now
Unlock full access