mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-27 20:42:26 +00:00
* Rewriting Dockerfiles with dynamic parameters * Adding procps, bumping python container version and adding a source label
37 lines
675 B
Docker
Vendored
37 lines
675 B
Docker
Vendored
FROM python:3.8-slim-buster
|
|
|
|
LABEL org.opencontainers.image.source https://github.com/GamestonkTerminal/GamestonkTerminal
|
|
|
|
RUN apt-get update && apt-get -y install --no-install-recommends \
|
|
gcc \
|
|
g++ \
|
|
make \
|
|
wget \
|
|
curl \
|
|
telnet \
|
|
net-tools \
|
|
iputils-ping \
|
|
dnsutils \
|
|
git \
|
|
gnupg \
|
|
unzip \
|
|
bzip2 \
|
|
libsm6 \
|
|
libxt6 \
|
|
libgl1-mesa-glx \
|
|
libpng16-16 \
|
|
procps \
|
|
python3-tk && \
|
|
apt-get -y autoremove && \
|
|
apt-get clean && \
|
|
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
|
|
|
RUN useradd --create-home --shell /bin/bash python
|
|
|
|
USER python
|
|
WORKDIR /home/python
|
|
|
|
ENV PATH="/home/python/.local/bin:${PATH}"
|
|
|
|
RUN pip install "poetry==1.1.7"
|