-
Notifications
You must be signed in to change notification settings - Fork 204
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Cryp Toon
committed
Apr 4, 2024
1 parent
c2684cd
commit 241705b
Showing
2 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
FROM linuxmintd/mint22-amd64 | ||
MAINTAINER Cryp Toon <[email protected]> | ||
|
||
WORKDIR /code | ||
|
||
RUN apt-get update && apt-get upgrade -y | ||
RUN apt-get install -y \ | ||
software-properties-common git \ | ||
build-essential python3-dev libgmp3-dev python3-pip python3.12-venv | ||
|
||
ENV TZ=Europe/Brussels | ||
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone | ||
RUN apt-get install -y postgresql postgresql-contrib mariadb-server libpq-dev pkg-config default-libmysqlclient-dev | ||
RUN apt-get clean | ||
|
||
RUN git clone https://github.com/1200wd/bitcoinlib.git | ||
|
||
WORKDIR /code/bitcoinlib | ||
RUN python3 -m venv /opt/venv | ||
RUN /opt/venv/bin/python3 -m pip install .[dev] | ||
|
||
CMD /opt/venv/bin/python3 -m unittest |