Skip to content

Commit e5449be

Browse files
committed
tryfix container build issue
1 parent e350c23 commit e5449be

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Containerfile.alpine

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,13 @@ WORKDIR /tmp/build
1212
COPY . /tmp/build
1313

1414
RUN _poetry_venv_dir="$(mktemp -d -p "${TMPDIR:-/tmp}" 'poetry_venv.XXXXXX')" && \
15+
apk add --no-cache libffi && \
16+
apk add --no-cache --virtual .build-deps build-base libffi-dev && \
1517
python -m 'venv' "${_poetry_venv_dir}" && \
1618
"${_poetry_venv_dir}/bin/pip" install --no-cache-dir 'poetry' && \
1719
"${_poetry_venv_dir}/bin/poetry" config --local virtualenvs.create false && \
1820
"${_poetry_venv_dir}/bin/poetry" install --without dev --extras cli --extras tunnel --no-interaction --no-ansi && \
21+
apk del .build-deps && \
1922
addgroup -S meshtastic && \
2023
adduser -S -G meshtastic -h /home/meshtastic meshtastic && \
2124
rm -f -r "${_poetry_venv_dir}" && \

0 commit comments

Comments
 (0)