Skip to content

Commit

Permalink
Fixing docker build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
riragh committed Oct 7, 2024
1 parent d03ea71 commit eed6093
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
FROM alpine:latest

ARG TERRAFORM_VERSION=1.9.6
ARG AZURECLI_VERSION=2.64.0

Expand All @@ -12,9 +10,8 @@ WORKDIR /viya4-iac-azure
COPY --from=terraform /bin/terraform /bin/terraform
COPY . .

RUN apk update \
&& apk upgrade \
&& apk add --no-cache git openssh curl\
RUN yum -y install git openssh jq curl \

Check warning on line 13 in Dockerfile

View workflow job for this annotation

GitHub Actions / Hadolint

Specify version with `yum install -y <package>-<version>`.
&& yum clean all && rm -rf /var/cache/yum \
&& curl -sLO https://storage.googleapis.com/kubernetes-release/release/v$KUBECTL_VERSION/bin/linux/amd64/kubectl \
&& chmod 755 ./kubectl /viya4-iac-azure/docker-entrypoint.sh \
&& mv ./kubectl /usr/local/bin/kubectl \
Expand Down

0 comments on commit eed6093

Please sign in to comment.