https://github.com/samrocketman/goenv
A small development environment for me to learn Go without interfering with my system packages.
https://github.com/samrocketman/goenv
Last synced: 4 months ago
JSON representation
A small development environment for me to learn Go without interfering with my system packages.
- Host: GitHub
- URL: https://github.com/samrocketman/goenv
- Owner: samrocketman
- License: mit
- Created: 2021-08-27T01:20:02.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2025-05-30T01:53:53.000Z (about 1 year ago)
- Last Synced: 2025-10-20T05:29:23.174Z (9 months ago)
- Language: Dockerfile
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Go Dev Environment
A simple go development environment for my Desktop Linux machines.
> **WARNING:** this environment gets set up with my personal dotfiles including
> git author settings.
# Building
To build the initial docker image run the following command.
docker build -t go .
Will pull in the latest available version of Go.
# Installation
Add to `.bashrc` file the following function.
```bash
# go environment provided by my goenv project
function goenv() {
docker run -it --rm -v "$PWD":"$PWD" -w "$PWD" go
}
```
# Usage
Start this from the root of a Git repository containing a Go project.
goenv