Skip to content

Commit

Permalink
sort the copying in the dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
mkisielewski-arista authored and aajith-arista committed Oct 30, 2024
1 parent 9629b58 commit 252d084
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,18 @@ USER root
RUN dnf install -y golang-1.21.* && dnf clean all
RUN mkdir -p /src/code.arista.io/eos/tools/eext && mkdir -p /usr/bin
WORKDIR /src/code.arista.io/eos/tools/eext
COPY ./go.mod ./
COPY ./go.sum ./
COPY ./*.go ./
COPY ./cmd/ cmd/
COPY ./configfiles/ configfiles/
COPY ./dnfconfig/ dnfconfig/
COPY ./go.mod ./
COPY ./go.sum ./
COPY ./impl/ impl/
COPY ./util/ util/
COPY ./testutil/ testutil/
COPY ./manifest/ manifest/
COPY ./dnfconfig/ dnfconfig/
COPY ./pki/ pki/
COPY ./srcconfig/ srcconfig/
COPY ./configfiles/ configfiles/
COPY ./pki /pki
COPY ./testutil/ testutil/
COPY ./util/ util/
RUN go mod download && go build -o /usr/bin/eext

FROM base as deploy
Expand Down

0 comments on commit 252d084

Please sign in to comment.