Make shared lib and adjust install path
Otherwise the include files are generated in /include/lib/... instead of /usr/include/lib/
This commit is contained in:
parent
8984e23fe9
commit
71c99b2423
@ -39,7 +39,7 @@ RUN apt update && apt install -y build-essential wget libssl-dev zlib1g-dev \
|
||||
WORKDIR /usr/src
|
||||
RUN wget https://www.python.org/ftp/python/$PYTHON_VERSION/Python-$PYTHON_VERSION.tgz \
|
||||
&& tar xzf Python-$PYTHON_VERSION.tgz && cd Python-$PYTHON_VERSION \
|
||||
&& ./configure --prefix=$INSTALL_PATH --enable-optimizations && make -j$(nproc) && make altinstall
|
||||
&& ./configure --prefix=$INSTALL_PATH/usr --enable-shared --enable-optimizations && make -j$(nproc) && make altinstall
|
||||
RUN mkdir -p $INSTALL_PATH/DEBIAN
|
||||
RUN mkdir -p /pkg
|
||||
COPY DEBIAN/control $INSTALL_PATH/DEBIAN/control
|
||||
|
Loading…
x
Reference in New Issue
Block a user