audiobookshelf/.devcontainer/Dockerfile

21 lines
856 B
Text
Raw Normal View History

# [Choice] Node.js version (use -bullseye variants on local arm64/Apple Silicon): 18, 16, 14, 18-bullseye, 16-bullseye, 14-bullseye, 18-buster, 16-buster, 14-buster
ARG VARIANT=16
FROM mcr.microsoft.com/devcontainers/javascript-node:0-${VARIANT} as base
# Setup the node environment
2022-05-15 14:24:24 -06:00
ENV NODE_ENV=development
# Install additional OS packages.
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get -y install --no-install-recommends \
curl tzdata ffmpeg && \
rm -rf /var/lib/apt/lists/*
2023-10-21 21:47:04 -07:00
# Move tone executable to appropriate directory (this doesn't seem to work in devcontainer because it needs musl)
# COPY --from=sandreas/tone:v0.1.5 /usr/local/bin/tone /usr/local/bin/
RUN wget https://github.com/sandreas/tone/releases/download/v0.1.5/tone-0.1.5-linux-x64.tar.gz && \
tar xzf tone-*.tar.gz && \
mv tone*/tone /usr/local/bin/