Skip to content

Commit

Permalink
build in docker
Browse files Browse the repository at this point in the history
Signed-off-by: Fernando Cainelli <[email protected]>
  • Loading branch information
cainelli committed Dec 19, 2024
1 parent 20d0560 commit 86a8a99
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,6 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build Envoy
run: |
BUILD_WITH_CONTAINER=1 make build_envoy;
ls -lha bazel-bin/;
find . -maxdepth 4
- name: Build and push Docker image
uses: docker/build-push-action@v6
with:
Expand Down
10 changes: 9 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
FROM gcr.io/istio-testing/build-tools-proxy:release-1.23-latest AS builder

WORKDIR /work/

COPY . /work/

RUN make build

FROM istio/proxyv2:1.23.3

COPY ./bazel-bin/envoy /usr/local/bin/
COPY --from=builder /work/bazel-bin/envoy /usr/local/bin/

0 comments on commit 86a8a99

Please sign in to comment.