diff --git a/docker-configs/Dockerfile-proxy b/docker-configs/Dockerfile-proxy index ee631ab..4451385 100644 --- a/docker-configs/Dockerfile-proxy +++ b/docker-configs/Dockerfile-proxy @@ -4,12 +4,13 @@ COPY entrypoint-proxy /entrypoint RUN useradd -u 54000 radio && \ apt-get update && \ - apt-get -y install git gcc musl-dev pypy3 pypy3-dev python3-pip && \ + apt-get -y install git pypy3 python3-pip && \ cd /opt && \ git clone https://github.com/hacknix/freedmr && \ cd /opt/freedmr && \ + git checkout pypy && \ pypy3 -m pip install --no-cache-dir -r requirements.txt && \ - apt-get -y remove gcc musl-dev pypy-dev && \ + apt-get -y remove python3-pip git && \ apt-get -y autoremove && \ apt-get -y purge && \ rm -rvf /var/cache/apt/archives/* && \ diff --git a/requirements.txt b/requirements.txt index c3690e3..e8cb02e 100755 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,6 @@ bitstring>=3.1.5 -bit_array Twisted>=16.3.0 dmr_utils3>=0.1.19 configparser>=3.0.0 -mysql-connector +mysql-connector-python setproctitle