Skip to content

Commit

Permalink
fix: actually init submodules and run cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
datagutt authored Apr 18, 2024
1 parent 4c1e9b1 commit 8e73107
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM alpine:3.18 as builder

RUN apk update &&\
apk upgrade &&\
apk add --no-cache linux-headers alpine-sdk cmake tcl openssl-dev zlib-dev spdlog spdlog-dev
apk add --no-cache linux-headers alpine-sdk cmake tcl openssl-dev zlib-dev spdlog spdlog-dev cmake

WORKDIR /tmp

Expand All @@ -25,6 +25,8 @@ RUN mkdir -p /build; \
git clone https://github.com/IRLToolkit/srtla.git /build/srtla; \
cd /build/srtla; \
git checkout $SRTLA_VERSION; \
git submodule init && git submodule update --recursive; \
cmake . \
make -j${nproc};

RUN cp /build/srtla/irltk_srtla_rec /usr/local/bin/srtla_rec
Expand Down

0 comments on commit 8e73107

Please sign in to comment.