4 Jan 2022 |
Samantaz Fox | And nope, you need to specify the file manually | 16:01:34 |
Samantaz Fox | docker always looks for Dockerfile . Nothing else. | 16:01:57 |
zehka | In reply to @thefrenchghosty:pussthecat.org so just build . in the compose file is enough? IRC it would be
build:
context: .
dockerfile: Dockerfile.arm64
``` in docker-compose.yml
| 16:04:28 |
zehka | In reply to @thefrenchghosty:pussthecat.org so just build . in the compose file is enough? * IRC it would be
build:
context: .
dockerfile: Dockerfile.arm64
in docker-compose.yml
| 16:04:40 |
TheFrenchGhosty | zehka: it's not smart enough to go look for it? | 16:05:01 |
zehka | In reply to @thefrenchghosty:pussthecat.org zehka: it's not smart enough to go look for it? No that .ARCH is just common practice but no technical standard built into docker | 16:05:42 |
TheFrenchGhosty | In reply to @zehka:matrix.flokinet.is No that .ARCH is just common practice but no technical standard built into docker good to know, thanks | 16:05:53 |
zehka | no problem :D | 16:06:09 |
wanion20 | In reply to @zehka:matrix.flokinet.is
IRC it would be
build:
context: .
dockerfile: Dockerfile.arm64
in docker-compose.yml
I tried this. I am getting error because I dont have Crystal installed. Further, the latest version of compiled crystal is 0.33.0-1 (https://stackoverflow.com/questions/42796143/how-do-i-install-crystal-lang-on-rapsberry-pi/42796648#42796648).
Even when that is installed, it needs version 1.22 and above.
| 16:43:45 |
wanion20 | In reply to @zehka:matrix.flokinet.is
IRC it would be
build:
context: .
dockerfile: Dockerfile.arm64
in docker-compose.yml
* I tried this. I am getting error because I dont have Crystal installed. Further, the latest version of compiled crystal is 0.33.0-1 (https://stackoverflow.com/questions/42796143/how-do-i-install-crystal-lang-on-rapsberry-pi/42796648#42796648).
Even when that is installed, it needs version 1.2.2-r0 and above.
| 16:44:45 |
wanion20 | So in the end, if I need to build docker file from repo, I will have to cross-compile crystal from source | 16:44:50 |
Samantaz Fox | Crystal should be inside the docker image | 16:45:13 |
Samantaz Fox | you don't need to have it on the host system | 16:45:31 |
Samantaz Fox | the problem is likely your context | 16:45:50 |
wanion20 | In reply to @samantazfox:pussthecat.org Crystal should be inside the docker image even when I am building the docker image (not pulling from https://quay.io/repository/invidious/invidious) | 16:45:57 |
Samantaz Fox | build:
context: .
dockerfile: docker/Dockerfile.arm64 | 16:46:09 |
wanion20 | In reply to @samantazfox:pussthecat.org Crystal should be inside the docker image * even when I am building the docker image ? (not pulling from https://quay.io/repository/invidious/invidious) | 16:46:10 |
Samantaz Fox | yep. Docker will copy the files from the repo to the container, then run crystal build inside the container | 16:46:50 |
RSS (bot) | New post in Recent Commits to documentation:master: Takedowns: Fix punctuation (#177)
| 16:46:59 |
RSS (bot) | New post in Recent Commits to documentation:master: Fix typos, grammar, and broken links (#176)
| 16:47:01 |
wanion20 | In reply to @samantazfox:pussthecat.org
build:
context: .
dockerfile: docker/Dockerfile.arm64
I have the same lines in my docker-compose | 16:52:37 |
wanion20 | getting this error | 16:52:41 |
wanion20 |  Download image.png | 16:52:44 |
wanion20 | One thing I noticed is that its pulling armv7 | 16:53:10 |
TheFrenchGhosty | mmh they maybe renamed the packages | 16:53:13 |
wanion20 | while I think I am on arm v8 | 16:53:23 |
wanion20 | I am not sure if that matters | 16:53:27 |
TheFrenchGhosty | In reply to @wanion20:matrix.org while I think I am on arm v8 you are | 16:53:30 |
Samantaz Fox | https://pkgs.alpinelinux.org/packages?name=crystal | 16:53:40 |
TheFrenchGhosty | In reply to @wanion20:matrix.org I am not sure if that matters it does, armv7 is 32 bit | 16:53:41 |