Skip to content
This repository was archived by the owner on Oct 13, 2023. It is now read-only.

Commit 4bd7815

Browse files
Merge component 'engine' from git@github.com:docker/engine 19.03
2 parents cda3e39 + 78567fe commit 4bd7815

158 files changed

Lines changed: 4323 additions & 1751 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

components/engine/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
#
2626

2727
ARG CROSS="false"
28-
ARG GO_VERSION=1.12.14
28+
ARG GO_VERSION=1.12.15
2929
ARG DEBIAN_FRONTEND=noninteractive
3030

3131
FROM golang:${GO_VERSION}-stretch AS base

components/engine/Dockerfile.e2e

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG GO_VERSION=1.12.14
1+
ARG GO_VERSION=1.12.15
22

33
FROM golang:${GO_VERSION}-alpine AS base
44

components/engine/Dockerfile.simple

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
# This represents the bare minimum required to build and test Docker.
77

8-
ARG GO_VERSION=1.12.14
8+
ARG GO_VERSION=1.12.15
99

1010
FROM golang:${GO_VERSION}-stretch
1111

components/engine/Dockerfile.windows

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@
4545
#
4646
# 1. Clone the sources from github.com:
4747
#
48-
# >> git clone https://github.com/docker/docker.git C:\go\src\github.com\docker\docker
49-
# >> Cloning into 'C:\go\src\github.com\docker\docker'...
48+
# >> git clone https://github.com/docker/docker.git C:\gopath\src\github.com\docker\docker
49+
# >> Cloning into 'C:\gopath\src\github.com\docker\docker'...
5050
# >> remote: Counting objects: 186216, done.
5151
# >> remote: Compressing objects: 100% (21/21), done.
5252
# >> remote: Total 186216 (delta 5), reused 0 (delta 0), pack-reused 186195
@@ -59,7 +59,7 @@
5959
#
6060
# 2. Change directory to the cloned docker sources:
6161
#
62-
# >> cd C:\go\src\github.com\docker\docker
62+
# >> cd C:\gopath\src\github.com\docker\docker
6363
#
6464
#
6565
# 3. Build a docker image with the components required to build the docker binaries from source
@@ -79,8 +79,8 @@
7979
# 5. Copy the binaries out of the container, replacing HostPath with an appropriate destination
8080
# folder on the host system where you want the binaries to be located.
8181
#
82-
# >> docker cp binaries:C:\go\src\github.com\docker\docker\bundles\docker.exe C:\HostPath\docker.exe
83-
# >> docker cp binaries:C:\go\src\github.com\docker\docker\bundles\dockerd.exe C:\HostPath\dockerd.exe
82+
# >> docker cp binaries:C:\gopath\src\github.com\docker\docker\bundles\docker.exe C:\HostPath\docker.exe
83+
# >> docker cp binaries:C:\gopath\src\github.com\docker\docker\bundles\dockerd.exe C:\HostPath\dockerd.exe
8484
#
8585
#
8686
# 6. (Optional) Remove the interim container holding the built executable binaries:
@@ -165,14 +165,14 @@ FROM microsoft/windowsservercore
165165
# Use PowerShell as the default shell
166166
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
167167

168-
ARG GO_VERSION=1.12.14
168+
ARG GO_VERSION=1.12.15
169169

170170
# Environment variable notes:
171171
# - GO_VERSION must be consistent with 'Dockerfile' used by Linux.
172172
# - FROM_DOCKERFILE is used for detection of building within a container.
173173
ENV GO_VERSION=${GO_VERSION} `
174174
GIT_VERSION=2.11.1 `
175-
GOPATH=C:\go `
175+
GOPATH=C:\gopath `
176176
FROM_DOCKERFILE=1
177177

178178
RUN `
@@ -249,7 +249,7 @@ RUN `
249249
Remove-Item C:\gitsetup.zip; `
250250
`
251251
Write-Host INFO: Creating source directory...; `
252-
New-Item -ItemType Directory -Path C:\go\src\github.com\docker\docker | Out-Null; `
252+
New-Item -ItemType Directory -Path ${GOPATH}\src\github.com\docker\docker | Out-Null; `
253253
`
254254
Write-Host INFO: Configuring git core.autocrlf...; `
255255
C:\git\cmd\git config --global core.autocrlf true; `
@@ -260,7 +260,7 @@ RUN `
260260
ENTRYPOINT ["powershell.exe"]
261261

262262
# Set the working directory to the location of the sources
263-
WORKDIR C:\go\src\github.com\docker\docker
263+
WORKDIR ${GOPATH}\src\github.com\docker\docker
264264

265265
# Copy the sources into the container
266266
COPY . .

0 commit comments

Comments
 (0)