Skip to content

Commit

Permalink
Fix some Dockerfile linting
Browse files Browse the repository at this point in the history
This fixes some linting regarding caps and key/value separation

Signed-off-by: Ulysses Souza <[email protected]>
  • Loading branch information
ulyssessouza authored and cbron committed Feb 26, 2025
1 parent 207f0dd commit dc671d5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
ARG KINE_VERSION="v0.13.8"
FROM rancher/kine:${KINE_VERSION} as kine
FROM rancher/kine:${KINE_VERSION} AS kine

# Build program
FROM golang:1.23 as builder
FROM golang:1.23 AS builder

WORKDIR /vcluster-dev
ARG TARGETOS
Expand Down Expand Up @@ -34,8 +34,8 @@ COPY cmd/vclusterctl cmd/vclusterctl
COPY pkg/ pkg/
COPY config/ config/

ENV GO111MODULE on
ENV DEBUG true
ENV GO111MODULE=on
ENV DEBUG=true

# create and set GOCACHE now, this should slightly speed up the first build inside of the container
# also create /.config folder for GOENV, as dlv needs to write there when starting debugging
Expand All @@ -44,7 +44,7 @@ ENV GOCACHE=/.cache
ENV GOENV=/.config

# Set home to "/" in order to for kubectl to automatically pick up vcluster kube config
ENV HOME /
ENV HOME=/

# Build cmd
RUN --mount=type=cache,id=gomod,target=/go/pkg/mod \
Expand Down

0 comments on commit dc671d5

Please sign in to comment.