Skip to content
Open
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
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ RUN mkdir -p /root/go/src/github.com/awi-grpc-catalyst-sdwan
WORKDIR /root/go/src/github.com/awi-grpc-catalyst-sdwan
COPY . .

RUN apk add make

RUN make build

# Second stage: create the runtime image
Expand All @@ -32,6 +34,8 @@ FROM alpine:3.18.4
WORKDIR /root
COPY --from=builder /root/go/src/github.com/awi-grpc-catalyst-sdwan/bin/awi-grpc-catalyst-sdwan .

LABEL org.opencontainers.image.source https://github.com/app-net-interface/awi-grpc-catalyst-sdwan

# As k8s mounting makes it hard to create a file from a config map
# within the directory with already present files, we create a symlink
# to point to a new empty directory where actual config.yaml will be
Expand Down