Skip to content

Commit 6144f6b

Browse files
author
Chris Kleeschulte
committed
Referred to gitian branch that uses more cpu and memory.
1 parent b28d156 commit 6144f6b

File tree

4 files changed

+6
-9
lines changed

4 files changed

+6
-9
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ apt-get -yq purge grub > /dev/null 2>&1 || true && \
1414
apt-get -y dist-upgrade && \
1515
locale-gen en_US.UTF-8 && \
1616
update-locale LANG=en_US.UTF-8 && \
17-
bash -c '[[ -d /shared/gitian-builder ]] || git clone -b alts_for_docker --depth 1 https://github.com/kleetus/gitian-builder /shared/gitian-builder' && \
17+
bash -c '[[ -d /shared/gitian-builder ]] || git clone -b more-power https://github.com/kleetus/gitian-builder /shared/gitian-builder' && \
1818
useradd -d /home/ubuntu -m -s /bin/bash ubuntu && \
1919
chown -R ubuntu.ubuntu /shared/ && \
2020
chown root.root /shared/gitian-builder/target-bin/grab-packages.sh && \
@@ -28,5 +28,5 @@ RUN printf "[[ -d /shared/bitcoin ]] || \
2828
git clone -b \$1 --depth 1 \$2 /shared/bitcoin && \
2929
cd /shared/gitian-builder; \
3030
./bin/gbuild --skip-image --commit bitcoin=\$1 --url bitcoin=\$2 \$3" > /home/ubuntu/runit.sh
31-
CMD ["v0.12.1-bitcore-3","https://github.com/bitpay/bitcoin.git","../bitcoin/contrib/gitian-descriptors/gitian-linux.yml"]
31+
CMD ["v0.12.1-bitcore-4","https://github.com/bitpay/bitcoin.git","../bitcoin/contrib/gitian-descriptors/gitian-linux.yml"]
3232
ENTRYPOINT ["bash", "/home/ubuntu/runit.sh"]

build_builder.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/bash
22

3-
docker build -t builder -f ./Dockerfile.builder .
3+
docker build -t builder -f ./Dockerfile .

console_builder.sh

Lines changed: 0 additions & 3 deletions
This file was deleted.

run_builder_console.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22
THISDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
3-
docker run -d -h builder --name builder \
3+
docker run -it -h builder --name builder \
44
-v $THISDIR/cache:/shared/cache \
55
-v $THISDIR/result:/shared/result \
6-
builder tail -f /dev/null &&
7-
docker exec -it builder /bin/bash
6+
--entrypoint=/bin/bash \
7+
builder -s

0 commit comments

Comments
 (0)