-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix dockerfile for churro-operator to work with embedded templates in…
… multi-stage build (#9) * change go.mod to use golang 1.16 and relocate templates so they can be embedded into churro-operator, remove template volume from churro-operator and instead look for it dynamically and if not found use the embedded templates * fix Dockerfile for multi-stage build of churro-operator to be able to access embedded templates dir
- Loading branch information
1 parent
4fe2574
commit 869af23
Showing
4 changed files
with
34 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
FROM fedora:latest | ||
|
||
# Copy our static executable | ||
COPY build/churro-operator /usr/local/bin | ||
|
||
# Run the churro-operator binary. | ||
ENTRYPOINT ["/usr/local/bin/churro-operator"] |