From c35b4456a637841e78bf924958a45bd85cd61332 Mon Sep 17 00:00:00 2001 From: Maciej Kisielewski Date: Fri, 18 Oct 2024 14:52:32 +0200 Subject: [PATCH] sort the copying in the dockerfile --- Dockerfile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index 007a2433..a42ed154 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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