From 5e94b1a72198d1921a10d41ce775329996a8088f Mon Sep 17 00:00:00 2001 From: Austin Drenski Date: Wed, 8 Nov 2023 17:25:46 -0500 Subject: [PATCH] Update references to docker/compose-{cli => ecs} (#1) Fixes: #15 --- .gitignore | 1 + Dockerfile | 8 ++++---- INSTALL.md | 4 ++-- MAINTAINERS | 2 +- scripts/install/install_linux.sh | 2 +- 5 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 48047887..08b8261b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ bin/ dist/ +/.idea/ /.vscode/ diff --git a/Dockerfile b/Dockerfile index c402ecc9..0cea7eb3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 \ @@ -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/* . @@ -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 . . diff --git a/INSTALL.md b/INSTALL.md index 7d96587e..9f862d84 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -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 @@ -103,4 +103,4 @@ To test the install script, from a machine with docker: ```console docker build -t testclilinux -f scripts/Dockerfile-testInstall scripts -``` \ No newline at end of file +``` diff --git a/MAINTAINERS b/MAINTAINERS index 5614d43f..762e2746 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -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. diff --git a/scripts/install/install_linux.sh b/scripts/install/install_linux.sh index 0d1b3a98..b1f20a3f 100644 --- a/scripts/install/install_linux.sh +++ b/scripts/install/install_linux.sh @@ -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:-}"