Skip to content

Commit

Permalink
Pre-configure pip in Alpine base images
Browse files Browse the repository at this point in the history
  • Loading branch information
frenck committed Oct 17, 2023
1 parent aef6a49 commit 6b89431
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ RUN \
&& apk del .build-deps \
&& rm -rf /usr/src/*

# Root filesystem
COPY rootfs /

# S6-Overlay
WORKDIR /
ENTRYPOINT ["/init"]
5 changes: 5 additions & 0 deletions alpine/rootfs/etc/pip.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[global]
disable-pip-version-check = true
extra-index-url = https://wheels.home-assistant.io/musllinux-index/
no-cache-dir = false
prefer-binary = true

0 comments on commit 6b89431

Please sign in to comment.