Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
T0biii authored Mar 19, 2024
1 parent fc7ef50 commit 023d66b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,15 @@ WORKDIR /wgkex
COPY BUILD WORKSPACE requirements.txt ./
COPY wgkex ./wgkex

RUN wget https://github.com/bazelbuild/bazelisk/releases/download/v1.19.0/bazelisk-linux-amd64
RUN chmod +x bazelisk-linux-amd64
RUN ["./bazelisk-linux-amd64", "--bisect=release-7.0.2..HEAD", "test", "//wgkex/broker:app"]


RUN ["bazel-7.0.2", "build", "//wgkex/broker:app"]
RUN ["bazel-7.0.2", "build", "//wgkex/worker:app"]
RUN ["cp", "-rL", "bazel-bin", "bazel-7.0.2"]

RUN wget https://github.com/bazelbuild/bazelisk/releases/download/v1.19.0/bazelisk-linux-amd64
RUN chmod +x bazelisk-linux-amd64
RUN ["./bazelisk-linux-amd64", "--bisect=release-7.0.2..7.1.0", "test", "//wgkex/broker:app"]

FROM python:3.11.8-slim-bookworm
WORKDIR /wgkex
Expand Down

0 comments on commit 023d66b

Please sign in to comment.