This repository has been archived by the owner on Nov 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 252
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #632 from docker/eula-packaging
Add Docker EULA to packages
- Loading branch information
Showing
8 changed files
with
85 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
.git/ | ||
bin/ | ||
dist/ | ||
tests/node-client/node_modules/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
bin/ | ||
dist/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
The Docker End User License Agreement (https://www.docker.com/legal/docker-software-end-user-license-agreement) describes Docker's Terms for this software. | ||
By downloading, accessing, or using this software you expressly accept and agree to the Terms set out in the Docker End User License Agreement. |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
# Copyright 2020 Docker Compose CLI authors | ||
|
||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
|
||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
|
||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
# Distro options: ubuntu, centos | ||
ARG DISTRO=ubuntu | ||
|
||
FROM ubuntu:20.04 AS base-ubuntu | ||
RUN apt-get update && apt-get install -y \ | ||
curl | ||
RUN curl https://get.docker.com | sh | ||
|
||
FROM centos:7 AS base-centos | ||
RUN curl https://get.docker.com | sh | ||
|
||
FROM base-${DISTRO} AS install | ||
COPY install_linux.sh /scripts/install_linux.sh | ||
RUN chmod +x /scripts/install_linux.sh | ||
ARG DOWNLOAD_URL= | ||
RUN DOWNLOAD_URL=${DOWNLOAD_URL} /scripts/install_linux.sh | ||
RUN docker version | grep Cloud | ||
|
||
FROM install AS upgrade | ||
RUN DOWNLOAD_URL=${DOWNLOAD_URL} /scripts/install_linux.sh | ||
RUN docker version | grep Cloud | ||
|
||
# To run this test locally, start an HTTP server that serves the dist/ folder | ||
# then run a docker build passing the DOWNLOAD_URL as a build arg: | ||
# $ cd dist/ && python3 -m http.server & | ||
# $ docker build -f test.Dockerfile --build-arg DOWNLOAD_URL=http://192.168.0.22:8000/docker-linux-amd64.tar.gz . | ||
# | ||
# You can specify centos or ubuntu as distros using the DISTRO build arg. |