https://github.com/darklang/dockerfile
Build our docker container
https://github.com/darklang/dockerfile
Last synced: 11 months ago
JSON representation
Build our docker container
- Host: GitHub
- URL: https://github.com/darklang/dockerfile
- Owner: darklang
- Created: 2020-05-28T16:29:36.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-07-17T15:49:36.000Z (over 1 year ago)
- Last Synced: 2025-01-04T12:38:59.221Z (about 1 year ago)
- Language: Dockerfile
- Size: 112 KB
- Stars: 2
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dockerfile
Build our docker container
# Purpose
As a first step to our build in darklang/dark, we need to build the container,
and save it for future steps by pushing it to a repo. However, we do not want
to share the keys to push to the docker container publicly (obviously). The
solution was making a separate repo and not sharing the keys from it.
# Usage
Update this repository by running `./clone-from-dark-repo ../dark`, where the
second argument is the path of your local checkout of the dark repo, which
should have the dockerfile you want to build.
Run the script, then commit and push, and the tag(s) will be automatically
derived from the current git hash - see `tag-version.sh`. This tag will be
visible in the CircleCI build output.
Then go to the darklang/dark repo's `.circleci/config.yaml` and update
`.executors.in-container.docker[0].image` with the new tag.