fabianoflorentino / golang

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A container image for run Golang 3.11

BUILD IMAGE GOLANG 1.18

Usage

Variable Description
$PWD Current work directory with golang code

Local Usage

# Build
docker build --no-cache -t <IMAGE NAME>:<TAG> -f ./Dockerfile .

# Run
docker run -it --name golang -v $PWD:/app -w /app --entrypoint "" fabianoflorentino/golang:1.18 sh

Local Usage from Remote

# Pull (Download)
docker pull fabianoflorentino/golang:1.18

# Run
docker run -it --name golang -v $PWD:/app -w /app --entrypoint "" fabianoflorentino/golang:1.18 sh

About


Languages

Language:Dockerfile 100.0%