Skip to content
This repository was archived by the owner on Feb 5, 2020. It is now read-only.

Move structure-check tools from Jenkinsfile to builder image#1889

Merged
alexsomesan merged 1 commit intocoreos:masterfrom
alexsomesan:build-tools-in-builder
Sep 12, 2017
Merged

Move structure-check tools from Jenkinsfile to builder image#1889
alexsomesan merged 1 commit intocoreos:masterfrom
alexsomesan:build-tools-in-builder

Conversation

@alexsomesan
Copy link
Contributor

No description provided.

@alexsomesan alexsomesan requested a review from cpanato September 12, 2017 13:34
Copy link
Contributor

@cpanato cpanato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great!

@cpanato cpanato closed this Sep 12, 2017
@cpanato cpanato reopened this Sep 12, 2017
@alexsomesan alexsomesan merged commit 1a49fbb into coreos:master Sep 12, 2017
@alexsomesan alexsomesan deleted the build-tools-in-builder branch September 12, 2017 14:15
wking added a commit to wking/openshift-installer that referenced this pull request Jul 25, 2018
1a49fbb (Move structure-check tools from Jenkinsfile to builder
image, 2017-09-12, coreos/tectonic-installer#1889), added a:

  RUN go get github.com/s-urbaniak/terraform-examples

to this Dockerfile.  That package moved into the installer repository,
but all we need for generation/testing is the terraform-examples
binary, so a68555d (tests/ci: fix dockerfile and remove some layers,
2017-12-19, coreos/tectonic-installer#2600) removed the associated
source with:

  RUN go get github.com/coreos/tectonic-installer/contrib/terraform-examples && \
    rm -rf /go/src/github.com/coreos/tectonic-installer/

(i.e. "download
github.com/coreos/tectonic-installer/contrib/terraform-examples, build
terraform-examples, install it into $GOBIN, and remove the source").

d61abd4 (*: cleanup bazel rules, 2018-03-26,
coreos/tectonic-installer#3137) removed the Makefile which had been
calling terraform-examples, and 7c73c34 (remove terraform-examples
from the tectonic-builder image, 2018-05-18,
coreos/tectonic-installer#3239) removed the terraform-examples install
from this Dockerfile.  With the terraform-examples install removed, Go
will no longer be downloading that source, so there's no longer any
reason to remove it.  This commit removes the unnecessary removal,
which should make Dockerfile builds a bit faster and save an empty
layer in the resulting images.  More importantly, it avoids
distracting future devs reading the Dockerfile source ;).
frobware pushed a commit to frobware/installer that referenced this pull request Sep 17, 2018
1a49fbb (Move structure-check tools from Jenkinsfile to builder
image, 2017-09-12, coreos/tectonic-installer#1889), added a:

  RUN go get github.com/s-urbaniak/terraform-examples

to this Dockerfile.  That package moved into the installer repository,
but all we need for generation/testing is the terraform-examples
binary, so a68555d (tests/ci: fix dockerfile and remove some layers,
2017-12-19, coreos/tectonic-installer#2600) removed the associated
source with:

  RUN go get github.com/coreos/tectonic-installer/contrib/terraform-examples && \
    rm -rf /go/src/github.com/coreos/tectonic-installer/

(i.e. "download
github.com/coreos/tectonic-installer/contrib/terraform-examples, build
terraform-examples, install it into $GOBIN, and remove the source").

d61abd4 (*: cleanup bazel rules, 2018-03-26,
coreos/tectonic-installer#3137) removed the Makefile which had been
calling terraform-examples, and 7c73c34 (remove terraform-examples
from the tectonic-builder image, 2018-05-18,
coreos/tectonic-installer#3239) removed the terraform-examples install
from this Dockerfile.  With the terraform-examples install removed, Go
will no longer be downloading that source, so there's no longer any
reason to remove it.  This commit removes the unnecessary removal,
which should make Dockerfile builds a bit faster and save an empty
layer in the resulting images.  More importantly, it avoids
distracting future devs reading the Dockerfile source ;).
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants