mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 10:02:56 +01:00
Avoid error if /opt already exists
This fixes the build error: https://gitlab.com/gitlab-org/gitlab-build-images/-/jobs/156906378
This commit is contained in:
parent
86846db132
commit
584e7c6cff
2 changed files with 2 additions and 2 deletions
|
|
@ -10,7 +10,7 @@ ENV KUBECTL_URL=https://storage.googleapis.com/kubernetes-release/release/v${KUB
|
|||
|
||||
# Install dependencies
|
||||
RUN apk --no-cache add -U openssl curl tar gzip bash ca-certificates git python2\
|
||||
&& mkdir /opt
|
||||
&& mkdir -p /opt
|
||||
|
||||
# Install kubectl
|
||||
RUN curl -L -o /usr/local/bin/kubectl ${KUBECTL_URL} \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue