mirror of
https://github.com/docker/compose.git
synced 2025-07-26 07:04:32 +02:00
Merge pull request #831 from gtardif/fix_ecs_resolve
Fix Dockerfile syntax in ecs sidecars
This commit is contained in:
commit
1ecfa703f5
@ -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…
x
Reference in New Issue
Block a user