Skip to content

Commit

Permalink
Update references to docker/compose-{cli => ecs}
Browse files Browse the repository at this point in the history
Fixes: #15
  • Loading branch information
austindrenski committed Nov 8, 2023
1 parent 3da16ae commit 28fa007
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
bin/
dist/
/.idea/
/.vscode/
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ ARG GOLANGCI_LINT_VERSION=v1.50.1-alpine
ARG PROTOC_GEN_GO_VERSION=v1.5.2

FROM --platform=${BUILDPLATFORM} golang:${GO_VERSION} AS base
WORKDIR /compose-cli
WORKDIR /compose-ecs
RUN apk add --no-cache -vv \
git \
docker \
Expand Down Expand Up @@ -88,7 +88,7 @@ RUN --mount=target=. \
make BINARY=/out/docker -f builder.Makefile cross

FROM scratch AS protos
COPY --from=make-protos --link /compose-cli/cli/server/protos .
COPY --from=make-protos --link /compose-ecs/cli/server/protos .

FROM scratch AS cli
COPY --from=make-cli --link /out/* .
Expand Down Expand Up @@ -119,8 +119,8 @@ RUN --mount=type=cache,target=/go/pkg/mod \
go mod tidy

FROM scratch AS go-mod-tidy
COPY --from=make-go-mod-tidy --link /compose-cli/go.mod .
COPY --from=make-go-mod-tidy --link /compose-cli/go.sum .
COPY --from=make-go-mod-tidy --link /compose-ecs/go.mod .
COPY --from=make-go-mod-tidy --link /compose-ecs/go.sum .

FROM base AS check-go-mod
COPY . .
Expand Down
4 changes: 2 additions & 2 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ with a fresh install of Ubuntu 20.04.
You can install the Compose CLI using the install script:

```console
curl -L https://raw.githubusercontent.com/docker/compose-cli/main/scripts/install/install_linux.sh | sh
curl -L https://raw.githubusercontent.com/docker/compose-ecs/main/scripts/install/install_linux.sh | sh
```

## Manual install
Expand Down Expand Up @@ -103,4 +103,4 @@ To test the install script, from a machine with docker:

```console
docker build -t testclilinux -f scripts/Dockerfile-testInstall scripts
```
```
2 changes: 1 addition & 1 deletion MAINTAINERS
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Docker maintainers file
#
# This file describes who runs the docker/compose-cli project and how.
# This file describes who runs the docker/compose-ecs project and how.
# This is a living document - if you see something out of date or missing, speak up!
#
# It is structured to be consumable by both humans and programs.
Expand Down
2 changes: 1 addition & 1 deletion scripts/install/install_linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

set -eu

RELEASE_URL=https://api.github.com/repos/docker/compose-cli/releases/latest
RELEASE_URL=https://api.github.com/repos/docker/compose-ecs/releases/latest
LINK_NAME="${LINK_NAME:-com.docker.cli}"
DRY_RUN="${DRY_RUN:-}"

Expand Down

0 comments on commit 28fa007

Please sign in to comment.