$ sudo docker-compose up -d --build Building ytdl-download-bot Step 1/18 : FROM node:14 ---> 8924de3b4855 Step 2/18 : ENV TZ 'Asia/Seoul' ---> Using cache ---> 24e65d0e800e Step 3/18 : RUN echo $TZ > /etc/timezone && apt-get update && apt-get install -y tzdata && apt-get install -y vim && rm /etc/localtime && ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && dpkg-reconfigure -f noninteractive tzdata && apt-get clean ---> Using cache ---> 7617cf9885af Step 4/18 : RUN mkdir -p /ytdlbot/download ---> Using cache ---> efbec6639d8f Step 5/18 : RUN mkdir -p /ytdlbot/db ---> Using cache ---> 549212c8da62 Step 6/18 : ARG UNAME ---> Using cache ---> a92251b44f79 Step 7/18 : ARG PUID ---> Using cache ---> cadf45cb1d0d Step 8/18 : ARG PGID ---> Using cache ---> 46988dc1e425 Step 9/18 : RUN groupadd -g $PGID -o $UNAME ---> Using cache ---> 01aec5899c01 Step 10/18 : RUN useradd -m -u $PUID -g $PGID -o -s /bin/sh $UNAME ---> Using cache ---> fdd278d428be Step 11/18 : WORKDIR /ytdlbot ---> Using cache ---> 0576ebd131be Step 12/18 : COPY . . ---> 26f45d744eb3 Step 13/18 : RUN npm i ---> Running in 63b6dd9f82be npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I'll try to do my best with it! > sqlite3@5.0.2 install /ytdlbot/node_modules/sqlite3 > node-pre-gyp install --fallback-to-build node-pre-gyp WARN Using request for node-pre-gyp https download node-pre-gyp WARN Tried to download(403): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v5.0.2/napi-v3-linux-arm64.tar.gz node-pre-gyp WARN Pre-built binaries not found for sqlite3@5.0.2 and node@14.19.3 (node-v83 ABI, glibc) (falling back to source compile with node-gyp) make: Entering directory '/ytdlbot/node_modules/sqlite3/build' CC(target) Release/obj.target/nothing/../node-addon-api/nothing.o AR(target) Release/obj.target/../node-addon-api/nothing.a COPY Release/nothing.a ACTION deps_sqlite3_gyp_action_before_build_target_unpack_sqlite_dep Release/obj/gen/sqlite-autoconf-3340000/sqlite3.c TOUCH Release/obj.target/deps/action_before_build.stamp CC(target) Release/obj.target/sqlite3/gen/sqlite-autoconf-3340000/sqlite3.o AR(target) Release/obj.target/deps/sqlite3.a COPY Release/sqlite3.a CXX(target) Release/obj.target/node_sqlite3/src/backup.o ../src/backup.cc: In static member function 'static void node_sqlite3::Backup::Work_BeginInitialize(node_sqlite3::Database::Baton*)': ../src/backup.cc:179:9: warning: unused variable 'status' [-Wunused-variable] int status = napi_create_async_work( ^~~~~~ In file included from ../src/backup.cc:4:0: ../src/backup.cc: In static member function 'static void node_sqlite3::Backup::Work_BeginStep(node_sqlite3::Backup::Baton*)': ../src/macros.h:182:9: warning: unused variable 'status' [-Wunused-variable] int status = napi_create_async_work( \ ^ ../src/backup.cc:252:5: note: in expansion of macro 'BACKUP_BEGIN' BACKUP_BEGIN(Step); ^~~~~~~~~~~~ ../src/backup.cc: In static member function 'static void node_sqlite3::Backup::Work_BeginFinish(node_sqlite3::Backup::Baton*)': ../src/macros.h:182:9: warning: unused variable 'status' [-Wunused-variable] int status = napi_create_async_work( \ ^ ../src/backup.cc:319:5: note: in expansion of macro 'BACKUP_BEGIN' BACKUP_BEGIN(Finish); ^~~~~~~~~~~~ CXX(target) Release/obj.target/node_sqlite3/src/database.o ../src/database.cc: In static member function 'static void node_sqlite3::Database::Work_BeginOpen(node_sqlite3::Database::Baton*)': ../src/database.cc:153:9: warning: unused variable 'status' [-Wunused-variable] int status = napi_create_async_work( ^~~~~~ ../src/database.cc: In static member function 'static void node_sqlite3::Database::Work_BeginClose(node_sqlite3::Database::Baton*)': ../src/database.cc:247:9: warning: unused variable 'status' [-Wunused-variable] int status = napi_create_async_work( ^~~~~~ ../src/database.cc: In static member function 'static void node_sqlite3::Database::Work_BeginExec(node_sqlite3::Database::Baton*)': ../src/database.cc:560:9: warning: unused variable 'status' [-Wunused-variable] int status = napi_create_async_work( ^~~~~~ ../src/database.cc: In static member function 'static void node_sqlite3::Database::Work_BeginLoadExtension(node_sqlite3::Database::Baton*)': ../src/database.cc:669:9: warning: unused variable 'status' [-Wunused-variable] int status = napi_create_async_work( ^~~~~~ CXX(target) Release/obj.target/node_sqlite3/src/node_sqlite3.o CXX(target) Release/obj.target/node_sqlite3/src/statement.o ../src/statement.cc: In static member function 'static void node_sqlite3::Statement::Work_BeginPrepare(node_sqlite3::Database::Baton*)': ../src/statement.cc:122:9: warning: unused variable 'status' [-Wunused-variable] int status = napi_create_async_work( ^~~~~~ In file included from ../src/statement.cc:5:0: ../src/statement.cc: In static member function 'static void node_sqlite3::Statement::Work_BeginBind(node_sqlite3::Statement::Baton*)': ../src/macros.h:146:9: warning: unused variable 'status' [-Wunused-variable] int status = napi_create_async_work( \ ^ ../src/statement.cc:344:5: note: in expansion of macro 'STATEMENT_BEGIN' STATEMENT_BEGIN(Bind); ^~~~~~~~~~~~~~~ ../src/statement.cc: In static member function 'static void node_sqlite3::Statement::Work_BeginGet(node_sqlite3::Statement::Baton*)': ../src/macros.h:146:9: warning: unused variable 'status' [-Wunused-variable] int status = napi_create_async_work( \ ^ ../src/statement.cc:396:5: note: in expansion of macro 'STATEMENT_BEGIN' STATEMENT_BEGIN(Get); ^~~~~~~~~~~~~~~ ../src/statement.cc: In static member function 'static void node_sqlite3::Statement::Work_BeginRun(node_sqlite3::Statement::Baton*)': ../src/macros.h:146:9: warning: unused variable 'status' [-Wunused-variable] int status = napi_create_async_work( \ ^ ../src/statement.cc:468:5: note: in expansion of macro 'STATEMENT_BEGIN' STATEMENT_BEGIN(Run); ^~~~~~~~~~~~~~~ ../src/statement.cc: In static member function 'static void node_sqlite3::Statement::Work_BeginAll(node_sqlite3::Statement::Baton*)': ../src/macros.h:146:9: warning: unused variable 'status' [-Wunused-variable] int status = napi_create_async_work( \ ^ ../src/statement.cc:538:5: note: in expansion of macro 'STATEMENT_BEGIN' STATEMENT_BEGIN(All); ^~~~~~~~~~~~~~~ ../src/statement.cc: In static member function 'static void node_sqlite3::Statement::Work_BeginEach(node_sqlite3::Statement::Baton*)': ../src/macros.h:146:9: warning: unused variable 'status' [-Wunused-variable] int status = napi_create_async_work( \ ^ ../src/statement.cc:639:5: note: in expansion of macro 'STATEMENT_BEGIN' STATEMENT_BEGIN(Each); ^~~~~~~~~~~~~~~ ../src/statement.cc: In static member function 'static void node_sqlite3::Statement::Work_BeginReset(node_sqlite3::Statement::Baton*)': ../src/macros.h:146:9: warning: unused variable 'status' [-Wunused-variable] int status = napi_create_async_work( \ ^ ../src/statement.cc:766:5: note: in expansion of macro 'STATEMENT_BEGIN' STATEMENT_BEGIN(Reset); ^~~~~~~~~~~~~~~ SOLINK_MODULE(target) Release/obj.target/node_sqlite3.node COPY Release/node_sqlite3.node COPY /ytdlbot/node_modules/sqlite3/lib/binding/napi-v3-linux-arm64/node_sqlite3.node TOUCH Release/obj.target/action_after_build.stamp make: Leaving directory '/ytdlbot/node_modules/sqlite3/build' npm WARN ytdl-download-bot@1.0.0 No description npm WARN ytdl-download-bot@1.0.0 No repository field. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm64"}) added 265 packages from 454 contributors and audited 266 packages in 74.221s 36 packages are looking for funding run `npm fund` for details found 6 high severity vulnerabilities run `npm audit fix` to fix them, or `npm audit` for details Removing intermediate container 63b6dd9f82be ---> 3bc1d3038cd4 Step 14/18 : RUN chmod +x /ytdlbot/entry-point.sh ---> Running in 4bf7b1d4ff17 Removing intermediate container 4bf7b1d4ff17 ---> 44c5e0cf96e9 Step 15/18 : RUN chown -R $UNAME:$UNAME /ytdlbot ---> Running in 118fe90223e0 Removing intermediate container 118fe90223e0 ---> f990ef8bce43 Step 16/18 : RUN ls -la ---> Running in 2c842ff00620 total 152 drwxr-xr-x 1 downloaduser downloaduser 4096 Jun 2 01:05 . drwxr-xr-x 1 root root 4096 Jun 2 01:05 .. -rw-rw-r-- 1 downloaduser downloaduser 95 Jun 2 01:02 .env -rw-rw-r-- 1 downloaduser downloaduser 2119 Jun 2 01:02 .gitignore -rw-rw-r-- 1 downloaduser downloaduser 649 Jun 2 01:02 Dockerfile drwxrwxr-x 1 downloaduser downloaduser 4096 Jun 2 01:02 db drwxrwxr-x 1 downloaduser downloaduser 4096 Jun 2 01:02 download -rw-rw-r-- 1 downloaduser downloaduser 198 Jun 2 01:02 download-watch.sh -rwxrwxr-x 1 downloaduser downloaduser 34 Jun 2 01:02 entry-point.sh drwxr-xr-x 1 downloaduser downloaduser 12288 Jun 2 01:05 node_modules -rw-rw-r-- 1 downloaduser downloaduser 82166 Jun 2 01:05 package-lock.json -rw-rw-r-- 1 downloaduser downloaduser 1041 Jun 2 01:02 package.json drwxrwxr-x 1 downloaduser downloaduser 4096 Jun 2 01:02 src -rw-rw-r-- 1 downloaduser downloaduser 11000 Jun 2 01:02 tsconfig.json Removing intermediate container 2c842ff00620 ---> ac36baa9b5fe Step 17/18 : USER $UNAME ---> Running in e32db3fd51e8 Removing intermediate container e32db3fd51e8 ---> 144471b63a27 Step 18/18 : CMD ["/ytdlbot/entry-point.sh"] ---> Running in 27c87a79660b Removing intermediate container 27c87a79660b ---> edac3eccc1f1 Successfully built edac3eccc1f1 Successfully tagged ytdlbot:latest Building ytdl-service Step 1/40 : ARG YT_DLP=2022.03.08.1 Step 2/40 : ARG FFMPEG_VERSION=5.0-1 Step 3/40 : ARG GOLANG_VERSION=1.18.0 Step 4/40 : ARG ALPINE_VERSION=3.15.4 Step 5/40 : FROM mwader/static-ffmpeg:$FFMPEG_VERSION AS ffmpeg ---> e5fe25df6924 Step 6/40 : FROM golang:$GOLANG_VERSION AS yt-dlp ---> 398d2f9ae073 Step 7/40 : ARG YT_DLP ---> Using cache ---> 250f7c314859 Step 8/40 : RUN curl -L https://github.com/yt-dlp/yt-dlp/releases/download/$YT_DLP/yt-dlp -o /yt-dlp && chmod a+x /yt-dlp ---> Using cache ---> 09144e25feaf Step 9/40 : FROM golang:$GOLANG_VERSION AS ydls-base ---> 398d2f9ae073 Step 10/40 : WORKDIR /src ---> Using cache ---> 8b144f7d0a43 Step 11/40 : RUN apt-get update -q && apt-get install --no-install-recommends -qy python-is-python3 python3-pycryptodome rtmpdump mplayer ---> Using cache ---> ce7a0e51b9fb Step 12/40 : COPY --from=ffmpeg /ffmpeg /ffprobe /usr/local/bin/ ---> Using cache ---> 848851f70820 Step 13/40 : COPY --from=yt-dlp /yt-dlp /usr/local/bin/ ---> Using cache ---> a28f9cf28d0d Step 14/40 : FROM ydls-base AS ydls-dev ---> a28f9cf28d0d Step 15/40 : RUN apt-get install --no-install-recommends -qy less jq bsdmainutils ---> Using cache ---> b6363213de96 Step 16/40 : FROM ydls-base AS ydls-builder ---> a28f9cf28d0d Step 17/40 : COPY go.mod go.sum /src/ ---> Using cache ---> 5894947e039d Step 18/40 : COPY cmd /src/cmd ---> Using cache ---> e800ffca3ecb Step 19/40 : COPY internal /src/internal ---> Using cache ---> 6cb005c4d306 Step 20/40 : COPY ydls.json /src ---> Using cache ---> 7f19767fe001 Step 21/40 : COPY ydls.json /etc ---> Using cache ---> 1feaf804fabf Step 22/40 : COPY Dockerfile .git* /src/.git/ ---> Using cache ---> 67b551be158c Step 23/40 : RUN (git describe --always 2>/dev/null || echo nogit) > .GIT_COMMIT ---> Using cache ---> b63a9e250829 Step 24/40 : RUN go install -buildvcs=false -installsuffix netgo -tags netgo -ldflags "-X main.gitCommit=$(cat .GIT_COMMIT)" ./cmd/ydls ---> Using cache ---> fc4f74c5b465 Step 25/40 : FROM alpine:$ALPINE_VERSION ---> 3fb3c9af89a9 Step 26/40 : LABEL maintainer="Mattias Wadman mattias.wadman@gmail.com" ---> Using cache ---> 1122b68dfbb2 Step 27/40 : ENV PORT=8080 ---> Using cache ---> 66fd638026c6 Step 28/40 : ENV LISTEN=:$PORT ---> Using cache ---> 5fab76e632a5 Step 29/40 : ENV CONFIG=/etc/ydls.json ---> Using cache ---> 6d3dcab1c878 Step 30/40 : RUN apk add --no-cache ca-certificates tini python3 py3-pycryptodome rtmpdump mplayer ---> Using cache ---> e78ff2e0e95d Step 31/40 : RUN ln -s /usr/bin/python3 /usr/bin/python ---> Using cache ---> 583a22c4e72a Step 32/40 : COPY --from=ffmpeg /ffmpeg /ffprobe /usr/local/bin/ ---> Using cache ---> 111573eccbe0 Step 33/40 : COPY --from=yt-dlp /yt-dlp /usr/local/bin/ ---> Using cache ---> f83ce1ff8824 Step 34/40 : COPY --from=ydls-builder /go/bin/ydls /usr/local/bin/ ---> Using cache ---> e05e3d3b7566 Step 35/40 : COPY entrypoint.sh /usr/local/bin ---> Using cache ---> 82577a7a4704 Step 36/40 : COPY ydls.json $CONFIG ---> Using cache ---> def235d768b3 Step 37/40 : RUN ffmpeg -version && ffprobe -version && yt-dlp --version && ydls -version ---> Running in 6ee209009968 /usr/local/bin/ffmpeg: line 1: syntax error: unexpected "(" ERROR: Service 'ytdl-service' failed to build: The command '/bin/sh -c ffmpeg -version && ffprobe -version && yt-dlp --version && ydls -version' returned a non-zero code: 2