diff --git a/Dockerfile b/Dockerfile index 358727694..6d70a0f86 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,11 +15,11 @@ RUN mkdir /tmp/python && cd /tmp/python && \ wget https://www.python.org/ftp/python/${PYTHON_VERSION}/Python-${PYTHON_VERSION}.tgz && \ tar -xzf Python-*.tgz && rm -f Python-*.tgz && \ cd Python-* && \ - ./configure --enable-shared --enable-optimizations --with-lto && \ + ./configure --enable-shared && \ make altinstall && \ echo /usr/local/lib > /etc/ld.so.conf.d/local.conf && ldconfig && \ cd / && rm -rf /tmp/pyton - + # ./configure --enable-shared --enable-optimizations --with-lto && \ # install postgres RUN yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-9-x86_64/pgdg-redhat-repo-latest.noarch.rpm diff --git a/pyproject.toml b/pyproject.toml index cb662edb3..33aaa543d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -64,6 +64,7 @@ packages = ["pandaserver"] "templates/bin" = "usr/bin" "templates/init.d" = "etc/rc.d/init.d" "templates/systemd" = "etc/systemd/system" +"templates/sysconfig" = "etc/sysconfig" [tool.hatch.build.targets.wheel.hooks.custom] path = "package/hatch_build.py"