We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f41d686 commit 265b9d9Copy full SHA for 265b9d9
.github/workflows/docker.yml
@@ -9,6 +9,7 @@ on:
9
- "third_party/**"
10
- "test/**"
11
- "*.bazel*"
12
+ - "Dockerfile"
13
- ".github/workflows/docker.yml"
14
tags:
15
- "v*.*.*"
Dockerfile
@@ -27,9 +27,8 @@ RUN export DEBIAN_FRONTEND=noninteractive && \
27
28
COPY . .
29
30
-# Allow rules_python to run as root
31
-RUN sed 's/python.toolchain(/python.toolchain(\nignore_root_user_error = True,/g' MODULE.bazel -i \
32
- && bazel build //dlinear --config=opt --//tools:enable_static_build=True
+RUN sed 's/python.toolchain(/python.toolchain(\nignore_root_user_error = True,/g' MODULE.bazel -i
+RUN bazel build //dlinear --cxxopt=-O3 --cxxopt=-DNDEBUG --//tools:enable_static_build=True
33
34
FROM alpine:3.19.0
35
0 commit comments