Sign inSign up

okinta/stack-nuget

By okinta

Updated about 6 years ago

An Okinta Stack that hosts a NuGet server

Image
0

1.0K

okinta/stack-nuget repository overview

NuGet Stack

An Okinta Stack that hosts a NuGet server.

What is an Okinta Stack?

An Okinta stack is a deployable unit for Alga that runs within Okinta's infrastructure. Stacks describe all necessary information to deploy a service.

For more information about Alga, refer to the alga-infra repository.

What is this Stack?

Runs s3proxy in front of an S3 bucket that hosts internal C# libraries via NuGet. NuGet packages are uploaded to S3 via Sleet.

Dependencies

This stack is dependent on the vault stack in order to retrieve bucket information. It makes use of the okinta/s3proxy container.

Development

Build
docker build -t okinta/stack-nuget .
Run
docker run -p 8080:8080 okinta/stack-nuget
Check FCOS Config Syntax
fcct --strict < coreos.fcc > /dev/null
Connecting to Vault

To connect to Vault locally, establish an SSH tunnel:

ssh -N -o ServerAliveInterval=60 -o ExitOnForwardFailure=yes -L 7020:127.0.0.1:7020 <VAULT HOST>

Then to allow access to Vault inside the container, use:

docker run --add-host "vault.in.okinta.ge:$(docker run alpine getent hosts host.docker.internal | cut -d' ' -f1)" -p 8080:8080 okinta/stack-nuget

Tag summary

Content type

Image

Digest

Size

132.6 MB

Last updated

about 6 years ago

docker pull okinta/stack-nuget