summaryrefslogtreecommitdiff
path: root/contrib/build-using-docker/Dockerfile
diff options
context:
space:
mode:
authorAndreas Fankhauser hiddenalpha.ch2023-08-24 19:54:46 +0200
committerAndreas Fankhauser hiddenalpha.ch2023-08-24 19:54:46 +0200
commite05741fc1627c23d5811ad0c08bb372e87eeab94 (patch)
tree40b6f45327d5b2ee0bb8be65efb66f9e43f6f171 /contrib/build-using-docker/Dockerfile
parentf5432f6c475c0ee158c84fe8fed686216418bf06 (diff)
downloadbulk-ln-e05741fc1627c23d5811ad0c08bb372e87eeab94.zip
bulk-ln-e05741fc1627c23d5811ad0c08bb372e87eeab94.tar.gz
Replace ugly docker build env by qemu setup script.v0.0.2
Diffstat (limited to 'contrib/build-using-docker/Dockerfile')
-rw-r--r--contrib/build-using-docker/Dockerfile35
1 files changed, 0 insertions, 35 deletions
diff --git a/contrib/build-using-docker/Dockerfile b/contrib/build-using-docker/Dockerfile
deleted file mode 100644
index 47b14f5..0000000
--- a/contrib/build-using-docker/Dockerfile
+++ /dev/null
@@ -1,35 +0,0 @@
-
-ARG PARENT_IMAGE=alpine:3.16.0
-FROM $PARENT_IMAGE
-
-ARG GIT_TAG=master
-ARG CONFIGURE_OPTS=
-ARG PKGINIT=true
-ARG PKGADD="apk add"
-ARG PKGDEL="apk del"
-ARG PKGCLEAN=true
-ARG PKGS_TO_ADD="curl gcc git make musl-dev tar"
-ARG PKGS_TO_DEL="curl gcc git make musl-dev tar"
-
-WORKDIR /work
-
-RUN true \
- && $PKGINIT \
- && $PKGADD $PKGS_TO_ADD \
- && git clone --depth 42 --branch "${GIT_TAG:?}" https://github.com/hiddenalpha/bulk-ln.git . \
- && git config advice.detachedHead false \
- && git checkout "$GIT_TAG" \
- && ./configure $CONFIGURE_OPTS \
- && make clean && make && make install \
- && find . -not -wholename './dist*' -delete \
- && find /work -exec chown 1000:1000 {} + \
- && $PKGDEL $PKGS_TO_DEL \
- && $PKGCLEAN \
- && true
-
-USER 1000:1000
-
-# run for max 10 hrs. Because this container is not meant to stay running
-# forever.
-CMD ["sleep", "36000"]
-