Skip to content

Commit

Permalink
fix: dockerfile use git repo and subdir
Browse files Browse the repository at this point in the history
  • Loading branch information
jaromil committed Dec 12, 2024
1 parent 4bda514 commit 233429c
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,14 @@

FROM alpine:latest

COPY lib /lib
COPY src /src
COPY build /build
COPY Makefile Makefile

RUN apk add --no-cache linux-headers build-base cmake readline-dev
RUN apk add --no-cache linux-headers build-base cmake readline-dev git
RUN mkdir -p /zenroom
RUN git config --global http.version HTTP/1.1 && git clone --depth 1 https://github.com/dyne/zenroom
WORKDIR /zenroom
RUN make musl COMPILER=gcc RELEASE=1
RUN mkdir -p /usr/local/bin/
RUN cp zenroom /usr/local/bin/
RUN cp zencode-exec /usr/local/bin/

ENTRYPOINT ["zenroom"]
ENTRYPOINT ["/usr/local/bin/zenroom"]

0 comments on commit 233429c

Please sign in to comment.