File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
- FROM vowpalwabbit/ubuntu1604 -build AS build
2
- ARG branch_or_tag=8.8 .0
1
+ FROM vowpalwabbit/ubuntu2004 -build AS build
2
+ ARG branch_or_tag=9.4 .0
3
3
RUN git clone -b $branch_or_tag --depth=1 --recursive https://github.com/VowpalWabbit/vowpal_wabbit.git /vw
4
- WORKDIR vw
5
- WORKDIR build
6
- RUN cmake .. -DCMAKE_BUILD_TYPE=Release -DWARNINGS=Off -DSTATIC_LINK_VW=On -DBUILD_JAVA=Off -DBUILD_PYTHON=Off -DBUILD_TESTING=Off
7
- RUN make vw_cli_bin -j $(nproc)
4
+
5
+ WORKDIR /vw
6
+ RUN cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DWARNINGS=Off -DSTATIC_LINK_VW=On -DBUILD_JAVA=Off -DBUILD_PYTHON=Off -DBUILD_TESTING=Off
7
+ RUN cmake --build build -t vw_cli_bin
8
8
9
9
FROM alpine:latest
10
10
COPY --from=build /vw/build/vowpalwabbit/cli/vw .
You can’t perform that action at this time.
0 commit comments