Skip to content

Commit

Permalink
Added lifecycle, address and keys libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
jeannettemcd committed Jun 28, 2024
1 parent fd217f0 commit 8de28fd
Show file tree
Hide file tree
Showing 11 changed files with 518 additions and 219 deletions.
File renamed without changes.
7 changes: 3 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Use an official Python runtime as a parent image
FROM python:3.9-buster
FROM python:3.11-bullseye

# Add user and group for running the application
RUN groupadd -r keeper && useradd -d /home/keeper -m --no-log-init -r -g keeper keeper && \
apt-get update -y && \
apt-get install -y jshon jq pkg-config openssl libssl-dev autoconf libtool libsecp256k1-dev && \
apt-get install -y git jq pkg-config openssl libssl-dev autoconf libtool && \
apt-get clean && rm -rf /var/lib/apt/lists/*

# Set the working directory in the container to /opt/keeper/chief-keeper
Expand All @@ -14,8 +14,7 @@ WORKDIR /opt/keeper/chief-keeper
COPY . .

# Install submodules
RUN git config --global --add safe.directory /opt/keeper/chief-keeper && \
git submodule update --init --recursive
RUN git config --global --add safe.directory /opt/keeper/chief-keeper

# Install any needed packages specified in requirements.txt
# First copy only the requirements.txt to leverage Docker cache
Expand Down
20 changes: 20 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[packages]
jsonnet = "*"
requests = "*"
web3 = "*"
eth-abi = "==2.1.1"
eth-utils = "<2.0.0,>=1.9.5"
eth-testrpc = "==1.3.0"
rlp = "==1.2.0"
tinydb = "*"
pytz = "==2017.3"

[dev-packages]

[requires]
python_version = "3.9"
Loading

0 comments on commit 8de28fd

Please sign in to comment.