We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e350c23 commit e5449beCopy full SHA for e5449be
1 file changed
Containerfile.alpine
@@ -12,10 +12,13 @@ WORKDIR /tmp/build
12
COPY . /tmp/build
13
14
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 && \
17
python -m 'venv' "${_poetry_venv_dir}" && \
18
"${_poetry_venv_dir}/bin/pip" install --no-cache-dir 'poetry' && \
19
"${_poetry_venv_dir}/bin/poetry" config --local virtualenvs.create false && \
20
"${_poetry_venv_dir}/bin/poetry" install --without dev --extras cli --extras tunnel --no-interaction --no-ansi && \
21
+ apk del .build-deps && \
22
addgroup -S meshtastic && \
23
adduser -S -G meshtastic -h /home/meshtastic meshtastic && \
24
rm -f -r "${_poetry_venv_dir}" && \
0 commit comments