diff --git a/GridboxConnectorAddon-edge/Dockerfile.standalone b/GridboxConnectorAddon-edge/Dockerfile.standalone index 6c26add..85ab81d 100644 --- a/GridboxConnectorAddon-edge/Dockerfile.standalone +++ b/GridboxConnectorAddon-edge/Dockerfile.standalone @@ -1,5 +1,5 @@ # https://developers.home-assistant.io/docs/add-ons/configuration#add-on-dockerfile -FROM python:3.10-alpine +FROM python:3.10-slim # Build arguments ARG BUILD_DATE @@ -17,9 +17,13 @@ LABEL \ org.opencontainers.image.revision=${BUILD_REF} \ org.opencontainers.image.version=${BUILD_VERSION} +RUN apt-get update && \ + apt-get install -y gcc g++ && \ + rm -rf /var/lib/apt/lists/* + # Copy root filesystem COPY GridboxConnectorAddon-edge/GridboxConnector/ /build/GridboxConnector RUN cd /build/GridboxConnector && pip install -r requirements.txt -ENTRYPOINT ["python3", "/build/GridboxConnector"] \ No newline at end of file +ENTRYPOINT ["python3", "/build/GridboxConnector"]