Dedy Martadinata S
da226df72a
move to ubuntu as requested
...
Use setup node 16, as LTS im afraid it will jump to node 18 few months later.
2022-05-06 08:16:48 +07:00
Dedy Martadinata S
6199157687
Update Dockerfile
2022-05-06 00:02:13 +07:00
Dedy Martadinata S
d2e1b04326
check again
2022-05-05 23:43:13 +07:00
Dedy Martadinata S
4bff50a5f0
copy all backend
2022-05-05 22:02:05 +07:00
Dedy Martadinata S
6ffa9d1ffd
Some clean up and restructure
2022-05-05 21:42:52 +07:00
Isaac Abadi
8118906b0a
Binary path is now confirmed for linux, solves #601
2022-05-05 02:31:28 -04:00
Isaac Abadi
2ad42ebf27
Fixed issue where python couldn't be found
2022-05-05 02:29:31 -04:00
GlassedSilver
3e7ef766de
Best to just put fix-scripts in /backend 👍
2022-05-04 23:40:42 +02:00
GlassedSilver
ce3e645129
for now: user has to DIY chmod +x fix-scripts
2022-05-04 20:54:21 +02:00
GlassedSilver
acca2d0de2
syntax devil struck again
2022-05-04 20:19:52 +02:00
GlassedSilver
31b4fcb9fc
We're now using gosu to switch our user down :)
2022-05-04 19:58:00 +02:00
GlassedSilver
336d7a09bd
set fix-scripts folder permissions more reliably
2022-05-04 18:31:28 +02:00
GlassedSilver
a94b8f376e
permission needs to be set with octal notation
2022-05-04 17:22:21 +02:00
GlassedSilver
84d33b0f82
fix missing execution permission for fix scripts
2022-05-04 17:21:06 +02:00
GlassedSilver
3abf8ecfc3
Merge branch 'master' of https://github.com/GlassedSilver/YoutubeDL-Material into master
2022-05-04 16:55:24 +02:00
GlassedSilver
5b919b2b18
Fix scripts folder: copy content AND parent folder
2022-05-04 16:55:22 +02:00
Glassed Silver
e290dc0a25
Fixing permissions of ffmpeg and ffprobe
...
Since we didn't specify UID and GID in copy command before, they were run as root causing permissions conflicts
The ffmpeg stage doesn't need the env variables henceforth
2022-05-04 15:11:35 +02:00
GlassedSilver
8336d886e9
fix-scripts need to be owned and run by root
2022-05-04 12:16:58 +02:00
GlassedSilver
6a56b5b065
add fix-scripts to docker image
2022-05-04 11:59:45 +02:00
GlassedSilver
8cc5c4f733
no need for suexec anymore apparently
2022-05-04 10:16:49 +02:00
GlassedSilver
d0f5518d31
suexec needs to be installed
2022-05-03 09:44:43 +02:00
GlassedSilver
713a97f75a
reintegrate suexec
2022-05-03 08:44:55 +02:00
GlassedSilver
8e4a3119ab
🚀 bye unnecessary build cleanups (not last stage)
2022-05-03 08:25:38 +02:00
GlassedSilver
44c1a34c67
Permissions fix for ffmpeg executable
2022-05-02 13:33:20 +02:00
GlassedSilver
9f740020af
possible fix
2022-05-02 13:14:57 +02:00
GlassedSilver
4d4bc76549
Use Ubuntu 22.04, use nodejs from ubuntu repo
2022-05-02 12:59:34 +02:00
GlassedSilver
93ce498e94
switch to ubuntu 21.10 as we wait for nodesource
2022-05-02 08:20:48 +02:00
Glassed Silver
d5626f1dae
Dockerfile: wget not needed
2022-05-01 23:29:51 +02:00
GlassedSilver
9c0733453a
removing strict SSL from npm config
2022-05-01 23:00:01 +02:00
Glassed Silver
2a41028253
Update Dockerfile
2022-05-01 20:42:45 +02:00
dejan.petrov@dapmn.com
2cdc1cee98
Fix for #585
...
Added the DEBIAN_FRONTEND=noninteractive variable to all stages. This should stop the build from failing.
Also added --no-install-recommends to install only the requested packages.
This might break stuff, but I'm not sure though.
2022-05-01 18:14:27 +02:00
dejan.petrov@dapmn.com
bd1ed2b705
Clean up docker image
...
Added some commands to clean up the image after apt-get does its thing.
It should shave off a couple of megabytes, nothing to big though.
2022-05-01 18:02:46 +02:00
GlassedSilver
d5ab0d7b96
I'm getting sleepy, why am I still pushing through
2022-05-01 11:54:19 +02:00
GlassedSilver
777aebe508
apparently we still need npm in the last stretch..
2022-05-01 11:52:35 +02:00
GlassedSilver
efaecaa059
use yarn in apt installs instead of npm
2022-05-01 11:48:12 +02:00
GlassedSilver
39ddefab5c
fix dependencies needed for our apt packages
2022-05-01 11:37:39 +02:00
GlassedSilver
60f2ab449f
yea
2022-05-01 11:31:53 +02:00
GlassedSilver
958f80e200
the good? I learn a lot about Docker building
2022-05-01 11:28:34 +02:00
GlassedSilver
7aa5c1bf7f
syyyyntax
2022-05-01 11:21:45 +02:00
GlassedSilver
3bcbe0d3e7
fix dependency node-gyp (>= 3.6.2~) needed
2022-05-01 11:04:59 +02:00
GlassedSilver
80fcecdaea
it's a learning experience
2022-05-01 10:57:21 +02:00
GlassedSilver
0329cd9718
don't think we need to install curl twice lol
2022-05-01 10:51:20 +02:00
GlassedSilver
493e876a97
syntax fixes are fun
2022-05-01 10:48:27 +02:00
GlassedSilver
7874f1b71a
curl is in fact missing in focal, my bad
2022-05-01 06:29:54 +02:00
GlassedSilver
960c545f37
Dockerfile uses Ubuntu 20.04, fix obtain ffmpeg
2022-05-01 05:14:31 +02:00
GlassedSilver
7f61ccb5f5
Use fixed version of musl to fix DNS errors
2022-04-26 04:46:05 +02:00
GlassedSilver
f79b254040
using more recent ffmpeg + code cleanup
2022-04-18 07:29:28 +02:00
GlassedSilver
74f5a9983d
revert ffmpeg changees
2022-04-18 01:56:16 +02:00
GlassedSilver
de79efafa6
try to fix ffmpeg install from edge
2022-04-17 23:46:08 +02:00
GlassedSilver
f11baf6d4b
fix missing \ in DOCKEFILE
2022-04-17 21:38:01 +02:00