nucypher/deploy/docker/rust-python
derekpierre 6fba2c0a18 Initial work for building dkg docker images. 2023-05-02 10:23:24 -07:00
..
Dockerfile Initial work for building dkg docker images. 2023-05-02 10:23:24 -07:00
README.md Initial work for building dkg docker images. 2023-05-02 10:23:24 -07:00

README.md

Rust-Python CircleCI Container

Setup

# the default username in the container
# circle ci expects the user "circleci"
export DOCKER_USER=<USERNAME>

# the version of python to build
export PYTHON_VERSION=<VERSION>

Build

# pass local env vars as build args USER and VERSION
docker build -t nucypher/rust-python:$PYTHON_VERSION . \
--build-arg VERSION=${PYTHON_VERSION} \
--build-arg USER=${DOCKER_USER}

Push

# docker login or authentication required
docker push nucypher/rust-python:$PYTHON_VERSION