mirror of https://github.com/docker/compose.git
Fix Dockerfile syntax in ecs sidecars introduced by https://github.com/docker/compose-cli/pull/799
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
This commit is contained in:
parent
382827241d
commit
0d197401a2
|
@ -12,7 +12,7 @@
|
||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
FROM FROM golang:1.15 AS builder
|
FROM golang:1.15 AS builder
|
||||||
WORKDIR $GOPATH/src/github.com/docker/compose-cli/ecs/resolv
|
WORKDIR $GOPATH/src/github.com/docker/compose-cli/ecs/resolv
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN CGO_ENABLED=0 go build -ldflags="-w -s" -o /go/bin/resolv main/main.go
|
RUN CGO_ENABLED=0 go build -ldflags="-w -s" -o /go/bin/resolv main/main.go
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
FROM FROM golang:1.15 AS builder
|
FROM golang:1.15 AS builder
|
||||||
WORKDIR $GOPATH/src/github.com/docker/compose-cli/ecs/secrets
|
WORKDIR $GOPATH/src/github.com/docker/compose-cli/ecs/secrets
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN CGO_ENABLED=0 go build -ldflags="-w -s" -o /go/bin/secrets main/main.go
|
RUN CGO_ENABLED=0 go build -ldflags="-w -s" -o /go/bin/secrets main/main.go
|
||||||
|
|
Loading…
Reference in New Issue