8000 add Dockerfile to build and run the tool on Linux easily by Buthrakaur · Pull Request #5 · ReactVision/ViroFBX · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

add Dockerfile to build and run the tool on Linux easily #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: linux-support
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
FROM ubuntu:24.04 AS builder

WORKDIR /app

COPY . /app

RUN apt update
RUN apt install -y \
openjdk-21-jdk-headless \
g++ \
make \
zlib1g-dev
ENV JAVA_HOME=/usr/lib/jvm/java-21-openjdk-amd64
ENV CPLUS_INCLUDE_PATH=$JAVA_HOME/include:$JAVA_HOME/include/linux

RUN cd ViroFBX && make

FROM ubuntu:24.04
WORKDIR /app
COPY --from=builder /app/ViroFBX/virofbx .

ENTRYPOINT ["./virofbx"]
0