This repository has been archived by the owner on Jan 9, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 881
#389: Support OS Distributions in Docker Image #412
Merged
tst-lsavoie
merged 39 commits into
google:master
from
tst-ppenev:I389_support_docker_distributions
Oct 16, 2017
Merged
Changes from all commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
f48d22d
#389: Added Docker support for OS distributions.
tst-ppenev e87c3be
Merge remote-tracking branch 'upstream/master' into I389_support_dock…
tst-ppenev 332aa87
#389: Add support for building a given Git branch.
tst-ppenev bec8ffd
#389: Build and install Portable Server in the Docker image.
tst-ppenev b27e3d2
#389: Add support for choosing the branch and repository to build from.
tst-ppenev d361036
#389: Add documentation for repository and branch, and Portable Server.
tst-ppenev 67e5e01
I389: Fix Git-LFS installation script URL.
tst-ppenev fbe7756
I389: Add `clean-exited-containers.sh` to garbage collect Docker cont…
tst-ppenev a7c71cb
I389: Share input parsing code, support CLEAN_CLONE_GIT_USER.
tst-ppenev f8a15d8
I389: Added support for RHEL 7 Docker builds.
tst-ppenev df638f2
I389: Preliminary RHEL 6 Docker template.
tst-ppenev 1cc02c0
I389: Add `-fPIC` flag to spec file for building gtest RPM on RHEL 6.
tst-ppenev e836960
I389: Add article to comment in <docker/bin/lib/ui.sh>.
tst-ppenev 5db27cf
I389: Sanitize Git branch name for Docker container name.
tst-ppenev a7a9140
I389: Interactive input update for `install_fusion.sh` on RHEL 6.
tst-ppenev 7187f89
I389: Default UID and GID to 1000 when creating X users in Docker con…
tst-ppenev 34b5da9
I389: Add Docker support for Cent OS 6.
tst-ppenev 72ee279
I389: Switch to building libgtest from a separate repository on RHEL 6.
tst-ppenev c890e8c
I389: Switched to a standalone script for configuring the build envir…
tst-ppenev 1a5e0d8
I389: Simplify implementation of transition from Docker stage 1 to 2.
tst-ppenev 507b046
I389: Switch Ubuntu 16 Docker template to use `get-gee-build-environm…
tst-ppenev 438528a
I389: Set work directory in Docker build environment templates.
tst-ppenev f73e8e2
I389: Don't install all "Development Tools" on RHEL.
tst-ppenev 2573dcd
I389: Don't keep Docker containers running to export them.
tst-ppenev 8b26b77
Merge remote-tracking branch 'upstream/master' into I389_support_dock…
tst-ppenev 2d94974
I389: Fix replacement of "Development Tools" on RHEL.
tst-ppenev 8f7a24e
I389: Added more notes on build environment images.
tst-ppenev 01e20b5
I389: Added a section on unregstering RHEL online.
tst-ppenev a2040c0
I389: Switched to RHEL 7 in Dockerfile.
tst-ppenev ffda501
I389: Hide output from test command in `get-gee-build-environment.sh`.
tst-ppenev 42081b4
I389: Add `rsync` to development tools in get-gee-build-environment.sh
tst-ppenev 496c31a
I389: Keep Docker build secrets from logs and disk.
tst-ppenev 344c2af
I389: Fixed TST-RUN-STAGE parsing, added EXPOSE restoration.
tst-ppenev 64d622d
I389: Fix URL in env-server.sh comment.
tst-ppenev 175c642
I389: Fix typos in <docker/README.md>.
tst-ppenev de805d1
I389: Remove Docker Cloud support, fix image naming.
tst-ppenev b4c38da
I389: Fix `printf` syntax in <start-gee-image.sh>.
tst-ppenev 5cc690f
I389: Remove debugging Docker code leaking secrets!
tst-ppenev d9408d8
I389: Ensure Docker build directory exists before building.
tst-ppenev File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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
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,24 @@ | ||
#! /bin/bash | ||
|
||
# This script builds a Docker image containing a build environment for | ||
# building Open GEE. | ||
|
||
SELF_NAME=$(basename "$0") | ||
SELF_DIR=$(dirname "$0") | ||
|
||
DOCKERFILE_TEMPLATES_DIR="$SELF_DIR/../image-definition" | ||
|
||
source "$SELF_DIR/lib/image-building.sh" | ||
|
||
|
||
# Set these variables before running this script to override the | ||
# default values below: | ||
: ${OS_DISTRIBUTION:="ubuntu-14"} | ||
: ${IMAGE_NAME:="opengee-experimental-build-env-$OS_DISTRIBUTION"} | ||
|
||
# Set TST_DOCKER_QUIET to a non-empty string to avoid prompting the user for input. | ||
|
||
|
||
tst_docker_build_dockerfile_template \ | ||
"$DOCKERFILE_TEMPLATES_DIR/Dockerfile.build-env.$OS_DISTRIBUTION.template" \ | ||
"${IMAGE_NAME}" yes |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor: I believe I have it figured out, but can you add a brief explanation on what the config/* files do for you?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They allow you to avoid indecently long command lines.
There's a subsection called Image Configuration above that tries to explain that.