Skip to content

vs-code dev environment for boringcrypto based golang

Notifications You must be signed in to change notification settings

ResTech-AI/go-fips-dev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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