diff options
| author | syeopite <70992037+syeopite@users.noreply.github.com> | 2021-08-09 22:34:52 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-09 22:34:52 -0700 |
| commit | 637a5cc14ff50f92d08a21bedd529442b8698f85 (patch) | |
| tree | 80906fac5de0e4a2384f89aad4cfcbda0589e3ec /docker/Dockerfile.arm64 | |
| parent | 81e77693b291db9d3b1aa18f330984fd284f7acf (diff) | |
| download | invidious-637a5cc14ff50f92d08a21bedd529442b8698f85.tar.gz invidious-637a5cc14ff50f92d08a21bedd529442b8698f85.tar.bz2 invidious-637a5cc14ff50f92d08a21bedd529442b8698f85.zip | |
Add CI for testing arm64 docker (#2315)
* Add CI for testing build of docker-arm64
* Add specs check to dockerfiles
Diffstat (limited to 'docker/Dockerfile.arm64')
| -rw-r--r-- | docker/Dockerfile.arm64 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docker/Dockerfile.arm64 b/docker/Dockerfile.arm64 index 1ec95d8a..54226b66 100644 --- a/docker/Dockerfile.arm64 +++ b/docker/Dockerfile.arm64 @@ -43,6 +43,10 @@ COPY ./src/ ./src/ # TODO: .git folder is required for building – this is destructive. # See definition of CURRENT_BRANCH, CURRENT_COMMIT and CURRENT_VERSION. COPY ./.git/ ./.git/ + +RUN crystal spec --warnings all \ + --link-flags "-lxml2 -llzma" + RUN crystal build ./src/invidious.cr \ --static --warnings all \ --link-flags "-lxml2 -llzma" |
