Skip to content

Commit

Permalink
[docker-up] Add docker-compose binary
Browse files Browse the repository at this point in the history
  • Loading branch information
aledbf committed Apr 16, 2022
1 parent 5d57819 commit 146a36f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions components/docker-up/BUILD.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ packages:
- ["rm", "-r", "components-docker-up--bin-docker-up"]
- ["mv", "components-docker-up--bin-runc-facade/docker-up", "runc-facade"]
- ["rm", "-r", "components-docker-up--bin-runc-facade"]
# Override docker-compose with custom version https://github.com/aledbf/compose/pull/1
# TODO: move to gitpod-io org if the approach is accepted
- ["curl","-sSL", "https://github.com/aledbf/compose/releases/download/v2.4.1.0-gitpod/docker-compose-linux-x86_64", "-o", "docker-compose"]
- name: docker
type: docker
deps:
Expand Down
4 changes: 3 additions & 1 deletion components/docker-up/leeway.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
FROM scratch

LABEL skip-n.registry-facade.gitpod.io="1"

WORKDIR /usr/bin
COPY components-docker-up--app/* ./

COPY components-docker-up--app/* ./
COPY components-docker-up--app/docker-compose /usr/local/bin/docker-compose

0 comments on commit 146a36f

Please sign in to comment.