Skip to content

Commit 55aa8dd

Browse files
authored
Merge pull request #1692 from benluddy/baseimage-path
Remove unnecessary ENV directives from base.Dockerfile.
2 parents 890601f + 8b3a4ab commit 55aa8dd

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ LOCAL_NAMESPACE := "olm"
2323
export GO111MODULE=on
2424
CONTROLLER_GEN := go run $(MOD_FLAGS) ./vendor/sigs.k8s.io/controller-tools/cmd/controller-gen
2525
YQ_INTERNAL := go run $(MOD_FLAGS) ./vendor/github.com/mikefarah/yq/v2/
26-
KUBEBUILDER_ASSETS := $(or $(or $(KUBEBUILDER_ASSETS),$(dir $(shell command -v kubebuilder))), /usr/local/kubebuilder/bin)
26+
KUBEBUILDER_ASSETS := $(or $(or $(KUBEBUILDER_ASSETS),$(dir $(shell command -v kubebuilder))),/usr/local/kubebuilder/bin)
2727
export KUBEBUILDER_ASSETS
2828

2929
# ART builds are performed in dist-git, with content (but not commits) copied

base.Dockerfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,3 @@ RUN yum install -y skopeo && \
1010
mv /tmp/kubebuilder_2.3.1_${OS}_${ARCH}/ /usr/local/kubebuilder && \
1111
export PATH=$PATH:/usr/local/kubebuilder/bin && \
1212
echo "Kubebuilder installation complete!"
13-
14-
ENV PATH=$PATH:/usr/local/kubebuilder/bin
15-
ENV KUBEBUILDER_ASSETS=/usr/local/kubebuilder/bin

0 commit comments

Comments
 (0)