Skip to content

Commit

Permalink
upgrade rel image builder from ubuntu 16 to 20 (#52)
Browse files Browse the repository at this point in the history
* upgrade rel image builder from ubuntu 16 to 20

* Update vw-rel-alpine.Dockerfile
  • Loading branch information
jackgerrits authored Oct 12, 2022
1 parent cea62df commit c21ab16
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions vowpal_wabbit/vw-rel-alpine.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM vowpalwabbit/ubuntu1604-build AS build
ARG branch_or_tag=8.8.0
FROM vowpalwabbit/ubuntu2004-build AS build
ARG branch_or_tag=9.4.0
RUN git clone -b $branch_or_tag --depth=1 --recursive https://github.com/VowpalWabbit/vowpal_wabbit.git /vw
WORKDIR vw
WORKDIR build
RUN cmake .. -DCMAKE_BUILD_TYPE=Release -DWARNINGS=Off -DSTATIC_LINK_VW=On -DBUILD_JAVA=Off -DBUILD_PYTHON=Off -DBUILD_TESTING=Off
RUN make vw_cli_bin -j $(nproc)

WORKDIR /vw
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
RUN cmake --build build -t vw_cli_bin

FROM alpine:latest
COPY --from=build /vw/build/vowpalwabbit/cli/vw .
Expand Down

0 comments on commit c21ab16

Please sign in to comment.