Last active
March 12, 2023 16:50
-
-
Save rfay/1b1becb2079b4d9dd1ae486eea86a863 to your computer and use it in GitHub Desktop.
Simple docker-compose.yaml + Dockerfile with build stage; Put these in a directory and `docker-compose build` in this directory will leave untagged "none" image
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
services: | |
test: | |
image: debian | |
build: | |
context: . | |
dockerfile: Dockerfile | |
command: ls |
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
FROM debian | |
RUN ls |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment