To start using sigil
you need to make sure you have all the necessary dependencies.
- AWS session-manager-plugin (version 1.1.17.0+ for SSH support)
- target EC2 instance must have AWS SSM Agent installed (full guide) (version 2.3.672.0+ for SSH support)
- AWS ec2-instance-connect to use SSH with your own and/or temporary keys
- target EC2 instance profile should have AmazonSSMManagedInstanceCore managed IAM policy attached or a specific policy with similar permissions (check About Policies for a Systems Manager Instance Profile and About Minimum S3 Bucket Permissions for SSM Agent)
To download sigil
you can use:
brew tap danmx/sigil
brew install sigil
or
brew install danmx/sigil/sigil
docker pull danmx/sigil:0.7
Pull the repository and build binaries.
git clone https://github.com/danmx/sigil.git
cd sigil
bazelisk sync
For all binaries (development
and release
) and Docker image run:
bazelisk build //...
To build a specific platform (Linux, Mac, Windows) use:
bazelisk build --config cross:[darwin|linux|windows]_amd64 :[dev|release]
for working Docker image:
bazelisk build --config cross:linux_amd64 :[dev|release]-image
To debug the image locally use run
instead of build
.