diff options
author | 2023-01-23 10:43:39 -0800 | |
---|---|---|
committer | 2023-01-23 10:43:39 -0800 | |
commit | 6b99960380132dc92837e7a67e95901e144e38b0 (patch) | |
tree | c8c7dddffe24768c697c8fd4557afad554800131 /utils_test.go | |
parent | f417482fee7df5b2f6cd1ae3e235e391aba56364 (diff) | |
download | sally-6b99960380132dc92837e7a67e95901e144e38b0.tar.gz sally-6b99960380132dc92837e7a67e95901e144e38b0.tar.zst sally-6b99960380132dc92837e7a67e95901e144e38b0.zip |
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 'utils_test.go')
0 files changed, 0 insertions, 0 deletions