2019-07-03 15:18:29 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2020-12-31 05:16:52 +00:00
|
|
|
version=$(<version.txt)
|
|
|
|
|
2024-04-01 13:19:38 +00:00
|
|
|
# Base image
|
|
|
|
docker buildx build --target linkding --platform linux/amd64,linux/arm64,linux/arm/v7 \
|
2023-11-05 13:18:26 +00:00
|
|
|
-f docker/default.Dockerfile \
|
2020-12-31 05:16:52 +00:00
|
|
|
-t sissbruecker/linkding:latest \
|
|
|
|
-t sissbruecker/linkding:$version \
|
|
|
|
--push .
|
2023-11-05 13:18:26 +00:00
|
|
|
|
2024-04-01 13:19:38 +00:00
|
|
|
docker buildx build --target linkding --platform linux/amd64,linux/arm64,linux/arm/v7 \
|
2023-11-05 13:18:26 +00:00
|
|
|
-f docker/alpine.Dockerfile \
|
|
|
|
-t sissbruecker/linkding:latest-alpine \
|
|
|
|
-t sissbruecker/linkding:$version-alpine \
|
|
|
|
--push .
|
2024-04-01 13:19:38 +00:00
|
|
|
|
|
|
|
# Plus image with support for single-file snapshots
|
|
|
|
# Needs checking if this works with ARMv7, excluded for now
|
|
|
|
docker buildx build --target linkding-plus --platform linux/amd64,linux/arm64 \
|
|
|
|
-f docker/default.Dockerfile \
|
|
|
|
-t sissbruecker/linkding:latest-plus \
|
|
|
|
-t sissbruecker/linkding:$version-plus \
|
|
|
|
--push .
|
|
|
|
|
|
|
|
docker buildx build --target linkding-plus --platform linux/amd64,linux/arm64 \
|
|
|
|
-f docker/alpine.Dockerfile \
|
|
|
|
-t sissbruecker/linkding:latest-alpine-plus \
|
|
|
|
-t sissbruecker/linkding:$version-alpine-plus \
|
|
|
|
--push .
|