Skip to content

Commit 1bbb291

Browse files
author
fibu0125
committed
fix: resolve PY_APSW_VER
1 parent fdd861a commit 1bbb291

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

alpine/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ARG TMP_DIR="/tmp"
1010

1111
COPY requirements.txt ${BACKUP_DAEMON_HOME}/
1212

13-
# hadolint ignore=DL3018
13+
# hadolint ignore=DL3003,DL3018
1414
RUN set -x \
1515
&& pip3 install --no-cache-dir --upgrade pip==${PIP} setuptools==${SETUPTOOLS} \
1616
&& rm -rf /var/cache/apk/* \
@@ -20,7 +20,8 @@ RUN set -x \
2020
-O ${TMP_DIR}/apsw-${PY_APSW_VER}.zip \
2121
"https://github.com/rogerbinns/apsw/releases/download/${PY_APSW_VER}/apsw-${PY_APSW_VER}.zip" \
2222
&& unzip ${TMP_DIR}/apsw-${PY_APSW_VER}.zip -d ${TMP_DIR} \
23-
&& python ${TMP_DIR}/apsw-${PY_APSW_VER}/setup.py install \
23+
&& cd ${TMP_DIR}/apsw-${PY_APSW_VER} \
24+
&& python setup.py install \
2425
&& rm -rf "${TMP_DIR:?}/"* \
2526
&& pip3 install --no-cache-dir -r ${BACKUP_DAEMON_HOME}/requirements.txt \
2627
&& apk del build-base

0 commit comments

Comments
 (0)