Skip to content
This repository was archived by the owner on Feb 1, 2024. It is now read-only.
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion cli/stdeb.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
[DEFAULT]
Depends3: python3-sawtooth-sdk
73 changes: 56 additions & 17 deletions validator/Dockerfile-installed-bionic
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,27 @@ RUN echo "deb http://repo.sawtooth.me/ubuntu/nightly bionic universe" >> /etc/ap
libssl-dev \
openssl \
pkg-config \
protobuf-compiler \
python3 \
python3-cachetools \
python3-dev \
python3-grpcio \
python3-grpcio-tools \
python3-protobuf \
python3-pyformance \
python3-sawtooth-sdk \
python3-secp256k1 \
python3-pip \
python3-cachetools \
python3-stdeb \
python3-toml \
unzip

RUN python3 -m pip install pip --upgrade

RUN python3 -m pip install --ignore-installed setuptools protobuf==3.6.1 lmdb colorlog toml

RUN python3 -m pip install --ignore-installed \
secp256k1

RUN python3 -m pip install --ignore-installed \
grpcio==1.15.0 \
grpcio-tools==1.15.0

RUN python3 -m pip install --ignore-installed sawtooth-sdk pyformance==0.4

RUN curl -OLsS https://github.com/google/protobuf/releases/download/v3.5.1/protoc-3.5.1-linux-x86_64.zip \
&& unzip protoc-3.5.1-linux-x86_64.zip -d protoc3 \
&& rm protoc-3.5.1-linux-x86_64.zip
Expand Down Expand Up @@ -90,13 +98,22 @@ RUN echo "deb http://repo.sawtooth.me/ubuntu/nightly bionic universe" >> /etc/ap
&& apt-get update \
&& apt-get install -y -q \
git \
python3 \
python3-protobuf \
python3-stdeb \
python3-toml \
python3-grpcio-tools \
python3-grpcio \
python3-sawtooth-sdk
pkg-config \
python3.6 \
python3.6-dev \
python3-pip \
python3-stdeb

RUN python3 -m pip install pip --upgrade

RUN python3 -m pip install --ignore-installed \
setuptools==50.1.0 \
protobuf==3.6.1 \
grpcio==1.15.0 \
grpcio-tools==1.15.0 \
toml

RUN python3 -m pip install --ignore-installed sawtooth-sdk

COPY . /project

Expand All @@ -113,8 +130,30 @@ FROM ubuntu:bionic

RUN apt-get update \
&& apt-get install -y \
gnupg \
systemd
pkg-config \
python3.6 \
python3.6-dev \
python3-pip \
gnupg \
systemd
RUN python3 -m pip install pip --upgrade

RUN python3 -m pip install --ignore-installed setuptools protobuf==3.6.1 lmdb colorlog toml

RUN python3 -m pip install --ignore-installed \
secp256k1

RUN python3 -m pip install --ignore-installed \
grpcio==1.15.0 \
grpcio-tools==1.15.0

RUN python3 -m pip install --ignore-installed \
netifaces \
cbor \
cachetools \
requests

RUN python3 -m pip install --ignore-installed sawtooth-sdk pyformance==0.4

COPY --from=sawtooth-cli-builder /project/python3-sawtooth-cli*.deb /tmp

Expand Down
1 change: 0 additions & 1 deletion validator/stdeb.cfg
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
[DEFAULT]
Depends3: libpython3-dev, openssl, libssl-dev, python3-cachetools