Last active
August 16, 2023 10:24
-
-
Save ZoomTen/2c0e8ba602bf71fc9f0beed62be830d9 to your computer and use it in GitHub Desktop.
Furnace-devel Docker image setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# first phase, build Furnace | |
FROM alpine:3.18 AS builder | |
RUN apk add --no-cache --update \ | |
git cmake ninja gcc g++ alsa-lib-dev mesa-dev musl-dev | |
RUN git clone --recursive https://github.com/tildearrow/furnace | |
WORKDIR /furnace | |
RUN mkdir build && \ | |
cd build && \ | |
CC="x86_64-alpine-linux-musl-gcc" \ | |
CXX="x86_64-alpine-linux-musl-g++" \ | |
cmake .. -DBUILD_GUI=OFF -GNinja && \ | |
ninja && \ | |
ninja install | |
# second phase, copy Furnace and install just the needed stuff | |
FROM alpine:3.18 AS prod | |
COPY --from=builder /usr/local/bin/furnace /bin/furnace | |
RUN apk add --no-cache libstdc++ alsa-lib | |
ENTRYPOINT ["furnace"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run -v $YOUR_SOURCE_DIRECTORY_HERE:/f furnace /f/$FILE_IN_SOURCE_DIRECTORY.fur -output /f/TARGET_FILE_TO_SOURCE_DIRECTORY.wav |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment