Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 907 Bytes

File metadata and controls

20 lines (15 loc) · 907 Bytes

Usage Instruction

Description

This project is to proivde a docker container that provides vs-code based golang development environment. It automatically install FIPS validated boring crypto based go complier provided by google

Usage

# Build the image
sudo docker build . --rm -t localhost/boring-go-dev:1.18.3b7  --build-arg GOLANG_VERSION=1.18.3b7

# Run the container
sudo docker run --rm -dt localhost/boring-go-dev:1.18.3b7

Note

Default ENTRYPOINT runs an infinite loop shell to keep it waiting for vs-code to connect. This is intended to use vs-code based golang development inside container that provides FIPS based boringcrypto go compiler. DO NOT run contianer in interactive mode. You can use following command to attach a shell to the running container.

sudo docker exec -it <conainter-id> /bin/bash