10 changed files with 20 additions and 178 deletions
@ -1,34 +0,0 @@ |
|||||||
FROM ubuntu:bionic |
|
||||||
SHELL ["/bin/bash", "-c"] |
|
||||||
|
|
||||||
# dependencies |
|
||||||
RUN apt-get update |
|
||||||
RUN apt-get install -y \ |
|
||||||
python-dev python-pip python-virtualenv libsodium23 |
|
||||||
|
|
||||||
# curl is a better tool |
|
||||||
RUN apt-get install -y curl |
|
||||||
|
|
||||||
RUN useradd --home-dir /home/chaum --create-home --shell /bin/bash --skel /etc/skel/ chaum |
|
||||||
ARG core_version |
|
||||||
ARG core_dist |
|
||||||
ARG repo_name |
|
||||||
RUN mkdir -p /home/chaum/${repo_name} |
|
||||||
COPY ${repo_name} /home/chaum/${repo_name} |
|
||||||
RUN ls -la /home/chaum |
|
||||||
RUN chown -R chaum:chaum /home/chaum/${repo_name} |
|
||||||
USER chaum |
|
||||||
|
|
||||||
# copy node software from the host and install |
|
||||||
WORKDIR /home/chaum |
|
||||||
RUN ls -la . |
|
||||||
RUN ls -la ${repo_name} |
|
||||||
RUN ls -la ${repo_name}/deps/cache |
|
||||||
RUN tar xaf ./${repo_name}/deps/cache/${core_dist} -C /home/chaum |
|
||||||
ENV PATH "/home/chaum/bitcoin-${core_version}/bin:${PATH}" |
|
||||||
RUN bitcoind --version | head -1 |
|
||||||
|
|
||||||
# install script |
|
||||||
WORKDIR ${repo_name} |
|
||||||
RUN virtualenv --python=python2 jmvenv |
|
||||||
RUN source jmvenv/bin/activate && ./test/run_tests.sh |
|
||||||
@ -1,35 +0,0 @@ |
|||||||
FROM fedora:27 |
|
||||||
SHELL ["/bin/bash", "-c"] |
|
||||||
|
|
||||||
# dependencies |
|
||||||
RUN dnf -y groups install 'Development tools' |
|
||||||
RUN dnf -y install \ |
|
||||||
python-devel python-pip python2-virtualenv libsodium |
|
||||||
|
|
||||||
# needed for build time |
|
||||||
# https://stackoverflow.com/questions/34624428/g-error-usr-lib-rpm-redhat-redhat-hardened-cc1-no-such-file-or-directory |
|
||||||
RUN dnf -y install redhat-rpm-config |
|
||||||
|
|
||||||
RUN useradd --home-dir /home/chaum --create-home --shell /bin/bash --skel /etc/skel/ chaum |
|
||||||
ARG core_version |
|
||||||
ARG core_dist |
|
||||||
ARG repo_name |
|
||||||
RUN mkdir -p /home/chaum/${repo_name} |
|
||||||
COPY ${repo_name} /home/chaum/${repo_name} |
|
||||||
RUN ls -la /home/chaum |
|
||||||
RUN chown -R chaum:chaum /home/chaum/${repo_name} |
|
||||||
USER chaum |
|
||||||
|
|
||||||
# copy node software from the host and install |
|
||||||
WORKDIR /home/chaum |
|
||||||
RUN ls -la . |
|
||||||
RUN ls -la ${repo_name} |
|
||||||
RUN ls -la ${repo_name}/deps/cache |
|
||||||
RUN tar xaf ./${repo_name}/deps/cache/${core_dist} -C /home/chaum |
|
||||||
ENV PATH "/home/chaum/bitcoin-${core_version}/bin:${PATH}" |
|
||||||
RUN bitcoind --version | head -1 |
|
||||||
|
|
||||||
# install script |
|
||||||
WORKDIR ${repo_name} |
|
||||||
RUN virtualenv --python=python2 jmvenv |
|
||||||
RUN source jmvenv/bin/activate && ./test/run_tests.sh |
|
||||||
@ -1,37 +0,0 @@ |
|||||||
FROM debian:stretch |
|
||||||
SHELL ["/bin/bash", "-c"] |
|
||||||
|
|
||||||
# dependencies |
|
||||||
RUN apt-get update |
|
||||||
RUN apt-get install -y build-essential |
|
||||||
RUN apt-get install -y \ |
|
||||||
automake pkg-config libtool libgmp-dev |
|
||||||
RUN apt-get install -y \ |
|
||||||
python-dev python-pip python-virtualenv python-qt4 python-sip |
|
||||||
|
|
||||||
# curl is a better tool |
|
||||||
RUN apt-get install -y curl |
|
||||||
|
|
||||||
RUN useradd --home-dir /home/chaum --create-home --shell /bin/bash --skel /etc/skel/ chaum |
|
||||||
ARG core_version |
|
||||||
ARG core_dist |
|
||||||
ARG repo_name |
|
||||||
RUN mkdir -p /home/chaum/${repo_name} |
|
||||||
COPY ${repo_name} /home/chaum/${repo_name} |
|
||||||
RUN ls -la /home/chaum |
|
||||||
RUN chown -R chaum:chaum /home/chaum/${repo_name} |
|
||||||
USER chaum |
|
||||||
|
|
||||||
# copy node software from the host and install |
|
||||||
WORKDIR /home/chaum |
|
||||||
RUN ls -la . |
|
||||||
RUN ls -la ${repo_name} |
|
||||||
RUN ls -la ${repo_name}/deps/cache |
|
||||||
RUN tar xaf ./${repo_name}/deps/cache/${core_dist} -C /home/chaum |
|
||||||
ENV PATH "/home/chaum/bitcoin-${core_version}/bin:${PATH}" |
|
||||||
RUN bitcoind --version | head -1 |
|
||||||
|
|
||||||
# install script |
|
||||||
WORKDIR ${repo_name} |
|
||||||
RUN ./install.sh --python=python2 |
|
||||||
RUN source jmvenv/bin/activate && ./test/run_tests.sh |
|
||||||
@ -1,37 +0,0 @@ |
|||||||
FROM ubuntu:xenial |
|
||||||
SHELL ["/bin/bash", "-c"] |
|
||||||
|
|
||||||
# dependencies |
|
||||||
RUN apt-get update |
|
||||||
RUN apt-get install -y build-essential |
|
||||||
RUN apt-get install -y \ |
|
||||||
automake pkg-config libtool libgmp-dev |
|
||||||
RUN apt-get install -y \ |
|
||||||
python-dev python-pip python-virtualenv python-qt4 python-sip |
|
||||||
|
|
||||||
# curl is a better tool |
|
||||||
RUN apt-get install -y curl |
|
||||||
|
|
||||||
RUN useradd --home-dir /home/chaum --create-home --shell /bin/bash --skel /etc/skel/ chaum |
|
||||||
ARG core_version |
|
||||||
ARG core_dist |
|
||||||
ARG repo_name |
|
||||||
RUN mkdir -p /home/chaum/${repo_name} |
|
||||||
COPY ${repo_name} /home/chaum/${repo_name} |
|
||||||
RUN ls -la /home/chaum |
|
||||||
RUN chown -R chaum:chaum /home/chaum/${repo_name} |
|
||||||
USER chaum |
|
||||||
|
|
||||||
# copy node software from the host and install |
|
||||||
WORKDIR /home/chaum |
|
||||||
RUN ls -la . |
|
||||||
RUN ls -la ${repo_name} |
|
||||||
RUN ls -la ${repo_name}/deps/cache |
|
||||||
RUN tar xaf ./${repo_name}/deps/cache/${core_dist} -C /home/chaum |
|
||||||
ENV PATH "/home/chaum/bitcoin-${core_version}/bin:${PATH}" |
|
||||||
RUN bitcoind --version | head -1 |
|
||||||
|
|
||||||
# install script |
|
||||||
WORKDIR ${repo_name} |
|
||||||
RUN ./install.sh --python=python2 |
|
||||||
RUN source jmvenv/bin/activate && ./test/run_tests.sh |
|
||||||
Loading…
Reference in new issue