Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable local testing using docker #134

Merged
merged 2 commits into from
Oct 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +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 ./testutil/ testutil/
COPY ./util/ util/
RUN go mod download && go build -o /usr/bin/eext

FROM base as deploy
Expand Down
Loading