Skip to content

Commit

Permalink
Drop legacy go variable
Browse files Browse the repository at this point in the history
  • Loading branch information
lzap authored and ezr-ondrej committed Oct 8, 2024
1 parent 5c96438 commit eebad90
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,11 @@
# STEP 1: build executable edge-api binaries
############################################
FROM registry.access.redhat.com/ubi9/go-toolset:1.21 AS edge-builder
USER root
WORKDIR $GOPATH/src/github.com/RedHatInsights/edge-api/
COPY . .
# Use go mod
ENV GO111MODULE=on
# Fetch dependencies.
# Using go get requires root.
USER root

# Download dependencies
RUN go get -d -v

# Build the binary.
Expand Down

0 comments on commit eebad90

Please sign in to comment.