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 committed Oct 25, 2024
1 parent 39bd4f1 commit c35b445
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 c35b445

Please sign in to comment.