Difference between revisions of "Build:"
Jump to navigation
Jump to search
(Created page with " * https://docs.docker.com/compose/compose-file/compose-file-v3/#build * {{docker-compose}}") |
|||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | {{lc}} | ||
+ | * https://docs.docker.com/compose/compose-file/compose-file-v3/#build | ||
+ | |||
+ | Official example: | ||
+ | version: "3.8" | ||
+ | [[Docker compose file: docker-compose.yml|services:]] | ||
+ | webapp: | ||
+ | build: ./dir | ||
− | + | [[dockerfile:]] | |
+ | [[args:]] | ||
+ | == Related == | ||
+ | * <code>[[docker-compose build]]</code> | ||
+ | * <code>[[Dockerfile]]</code> | ||
+ | == See also == | ||
+ | * {{Dockerfile}} | ||
* {{docker-compose}} | * {{docker-compose}} | ||
+ | * {{build}} | ||
+ | |||
+ | [[Category:Docker]] |
Latest revision as of 09:18, 21 April 2024
Official example:
version: "3.8" services: webapp: build: ./dir
dockerfile: args:
Related[edit]
See also[edit]
Dockerfile: FROM, RUN, CMD, ENTRYPOINT, WORKDIR, COPY, ADD, USER, ENV, ARG, HEALTHCHECK
,hadolint, LABEL, EXPOSE
docker-compose
,docker-compose.yml
: [services
|volumes
|networks
|up
|down
|restart
|logs
|create
|changelog
|version
|secrets
|config
|-v
|-h
|exec], docker-compose pull
,Environment:
, Docker-compose.yml examples,.env
, release notes, expose:, docker-compose --env-file,services.deploy.resources
- Build, build automation,
make, cmake
,docker build
,conan build, gradle build
, kaniko, AWS CodeBuild, Bazel, Google Cloud Build, meson, Pants, Scons, Buck2,earthly
Advertising: