Skip to content

Commit 13532fb

Browse files
Merge pull request #261 from perdasilva/fix_base_docker
Update PATH setting in base Dockerfile
2 parents 82a0912 + e400a81 commit 13532fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ ARG KUBEBUILDER_RELEASE=2.3.1
1313
# Note(tflannag): We ran into some issues curling from the https://go.kubebuilder.io/dl
1414
# domain as the output file was HTLM-based, so curl from the github releases
1515
# until this has been resolved.
16+
ENV PATH="/usr/local/kubebuilder/bin:${PATH}"
1617
RUN yum install -y skopeo && \
1718
export OS=$(go env GOOS) && \
1819
export ARCH=$(go env GOARCH) && \
1920
curl -L "https://github.com/kubernetes-sigs/kubebuilder/releases/download/v${KUBEBUILDER_RELEASE}/kubebuilder_${KUBEBUILDER_RELEASE}_${OS}_${ARCH}.tar.gz" | tar -xz -C /tmp/ && \
2021
mv /tmp/kubebuilder_${KUBEBUILDER_RELEASE}_${OS}_${ARCH}/ /usr/local/kubebuilder && \
21-
export PATH=$PATH:/usr/local/kubebuilder/bin && \
2222
kubebuilder version && \
2323
echo "Kubebuilder installation complete!"

0 commit comments

Comments
 (0)