Skip to content

Commit

Permalink
fixup! fixup! fixup! wip: Add musllinux_1_1
Browse files Browse the repository at this point in the history
  • Loading branch information
lkollar committed Jul 15, 2021
1 parent b0c2a50 commit abec629
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
7 changes: 1 addition & 6 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,7 @@ ENV LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8
ENV DEVTOOLSET_ROOTPATH=${DEVTOOLSET_ROOTPATH}
ENV LD_LIBRARY_PATH=${LD_LIBRARY_PATH_ARG}
ENV PATH=${PREPEND_PATH}${PATH}
# FIXME
# ENV PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
ENV ACLOCAL_PATH=/usr/share/aclocal/

# FIXME make this a script
RUN if [ "$POLICY" == "musllinux_1_1" ]; then apk add --no-cache bash; fi
ENV PKG_CONFIG_PATH=/usr/local/lib/pkgconfig

# first copy the fixup mirrors script, keep the script around
COPY build_scripts/fixup-mirrors.sh /usr/local/sbin/fixup-mirrors
Expand Down
4 changes: 2 additions & 2 deletions docker/build_scripts/finalize.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,14 @@ pip install -U --require-hashes -r $MY_DIR/requirements3.9.txt
if [ "${POLICY}" == "musllinux_1_1" ]; then
# On Alpine cmake needs cmake to build. Install it from apk to
# build a newer version.
apk add --no-cache --virtual .cmake cmake
apk add --no-cache --virtual .cmake-deps cmake openssl-dev
fi

pip install -U --require-hashes -r $MY_DIR/requirements-tools.txt

if [ "${POLICY}" == "musllinux_1_1" ]; then
# Remove the apk version
apk del .cmake
apk del .cmake-deps
fi

# Make auditwheel available in PATH
Expand Down

0 comments on commit abec629

Please sign in to comment.