This repository has been archived by the owner on Oct 12, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add pins in setup.py that match requirements.txt. Bump Alpine to 3.16…
…. Clean up dockerfile
- Loading branch information
Showing
2 changed files
with
18 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,15 @@ | ||
FROM alpine:3.15 | ||
FROM alpine:3.16 | ||
|
||
LABEL maintainer="[email protected]" | ||
|
||
RUN apk add -U --no-cache python3 python3-dev alpine-sdk bluez-dev py3-setuptools | ||
RUN apk add -U --no-cache python3 bluez-dev && \ | ||
apk add --no-cache --virtual .build-deps py3-setuptools py3-pip python3-dev alpine-sdk && \ | ||
pip3 --no-cache-dir install -U setuptools pip | ||
|
||
COPY . /src | ||
WORKDIR /src | ||
RUN python3 setup.py install && \ | ||
apk del alpine-sdk | ||
apk del .build-deps | ||
|
||
COPY entrypoint.sh / | ||
RUN chmod +x /entrypoint.sh | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters