mirror of
https://github.com/mhx/dwarfs.git
synced 2025-09-16 15:58:06 -04:00
chore: update docker config for building old versions
This commit is contained in:
parent
6d68fb3ef0
commit
b65396b294
1
.docker/.dockerignore
Normal file
1
.docker/.dockerignore
Normal file
@ -0,0 +1 @@
|
||||
/docker-0.2.x
|
2
.docker/docker-0.2.x/.dockerignore
Normal file
2
.docker/docker-0.2.x/.dockerignore
Normal file
@ -0,0 +1,2 @@
|
||||
/@*
|
||||
/Makefile
|
1
.docker/docker-0.2.x/.gitignore
vendored
Normal file
1
.docker/docker-0.2.x/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
/@*
|
@ -56,10 +56,11 @@ RUN apk add --no-cache \
|
||||
openssl-libs-static \
|
||||
openssl-dev
|
||||
|
||||
COPY double-conversion-3.1.5.tar.gz /opt/
|
||||
COPY fmt-7.1.3.tar.gz /opt/
|
||||
COPY fuse-3.10.4.tar.xz /opt/
|
||||
COPY glog-0.5.0.tar.gz /opt/
|
||||
RUN wget https://github.com/google/double-conversion/archive/refs/tags/v3.1.5.tar.gz -O /opt/double-conversion-3.1.5.tar.gz \
|
||||
&& wget https://github.com/fmtlib/fmt/archive/refs/tags/7.1.3.tar.gz -O /opt/fmt-7.1.3.tar.gz \
|
||||
&& wget https://github.com/libfuse/libfuse/releases/download/fuse-3.10.4/fuse-3.10.4.tar.xz -O /opt/fuse-3.10.4.tar.xz \
|
||||
&& wget https://github.com/google/glog/archive/refs/tags/v0.5.0.tar.gz -O /opt/glog-0.5.0.tar.gz
|
||||
|
||||
COPY build_libs.sh /opt/
|
||||
RUN bash /opt/build_libs.sh
|
||||
|
||||
|
@ -5,9 +5,9 @@ NPROC:=$(shell nproc)
|
||||
|
||||
COMMON_RUN_OPTS=-it --rm \
|
||||
--cap-add SYS_ADMIN --device /dev/fuse --privileged \
|
||||
--mount type=bind,source=/home/mhx/git/github/dwarfs,target=/workspace,readonly \
|
||||
--mount type=bind,source="$(ROOT_DIR)"/../@ccache,target=/ccache \
|
||||
--mount type=bind,source="$(ROOT_DIR)"/../@home,target=/root \
|
||||
--mount type=bind,source="$(ROOT_DIR)"/../..,target=/workspace,readonly \
|
||||
--mount type=bind,source="$(ROOT_DIR)"/@ccache,target=/ccache \
|
||||
--mount type=bind,source="$(ROOT_DIR)"/@home,target=/root \
|
||||
--env CCACHE_DIR=/ccache --env CTEST_PARALLEL_LEVEL=$(NPROC) \
|
||||
--entrypoint /bin/bash
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user