Update tone to v0.1.1

This commit is contained in:
advplyr 2022-10-07 16:21:47 -05:00
parent 793233e782
commit 1fa94cbfad
2 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,7 @@ RUN npm ci && npm cache clean --force
RUN npm run generate
### STAGE 1: Build server ###
FROM sandreas/tone:v0.0.9 AS tone
FROM sandreas/tone:v0.1.1 AS tone
FROM node:16-alpine
ENV NODE_ENV=production

View File

@ -50,7 +50,7 @@ install_ffmpeg() {
echo "Starting FFMPEG Install"
WGET="wget https://johnvansickle.com/ffmpeg/builds/ffmpeg-git-amd64-static.tar.xz"
WGET_TONE="wget https://github.com/sandreas/tone/releases/download/v0.0.9/tone-0.0.9-linux-x64.tar.gz"
WGET_TONE="wget https://github.com/sandreas/tone/releases/download/v0.1.1/tone-0.1.1-linux-x64.tar.gz"
if ! cd "$FFMPEG_INSTALL_DIR"; then
echo "Creating ffmpeg install dir at $FFMPEG_INSTALL_DIR"
@ -66,8 +66,8 @@ install_ffmpeg() {
# Temp downloading tone library to the ffmpeg dir
echo "Getting tone.."
$WGET_TONE
tar xvf tone-0.0.9-linux-x64.tar.gz --strip-components=1
rm tone-0.0.9-linux-x64.tar.gz
tar xvf tone-0.1.1-linux-x64.tar.gz --strip-components=1
rm tone-0.1.1-linux-x64.tar.gz
echo "Good to go on Ffmpeg (& tone)... hopefully"
}