diff options
| author | Abhinav Gupta <mail@abhinavg.net> | 2023-01-23 10:43:39 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-23 10:43:39 -0800 |
| commit | 6b99960380132dc92837e7a67e95901e144e38b0 (patch) | |
| tree | c8c7dddffe24768c697c8fd4557afad554800131 /sally.yaml | |
| parent | f417482fee7df5b2f6cd1ae3e235e391aba56364 (diff) | |
| download | sally-6b99960380132dc92837e7a67e95901e144e38b0.tar.gz | |
Add minimal Dockerfile (#72)
Adds a Dockerfile that builds sally using a phased Docker build.
The first phase builds sally,
and the second phase publishes a scratch image
with just sally.
If Uber publishes this to a container registry,
a user can use it like so:
% vim sally.yaml # create a sally yaml
% cat > Dockerfile
FROM sally:latest
COPY sally.yaml /sally.yaml
% docker build .
Even without publishing, this provides an example
of how to build sally for deployment.
Testing:
I verified the instructions above locally
by tagging locally with:
% docker build -t sally:latest
I'm also using a variation of this Dockerfile in production
right now for my own hosted instance of sally.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions