Skip to content

Commit

Permalink
Support for docker on other platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
bkbilly committed Apr 11, 2024
1 parent 163958d commit 8a7aac2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,6 @@ jobs:
with:
context: .
push: true
platforms: linux/amd64,linux/arm64/v8,linux/arm/v7,linux/arm64
platforms: linux/amd64,linux/arm64/v8,linux/arm/v7,linux/arm64,linux/386
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
7 changes: 2 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
FROM python:3.9-slim
FROM python:3.9-slim-buster

RUN apt update && apt install -y gcc libssl-dev libffi-dev
RUN curl https://sh.rustup.rs -sSf | sh
RUN pip3 install -U pip
RUN pip3 install --no-cache-dir cryptography
RUN apt update && apt install -y gcc

WORKDIR /opt/lnxlink

Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ dependencies = [
"PyYAML>=5.3.1",
"paho-mqtt>=1.5.1",
"requests>=2.28.1",
"pyOpenSSL>=22.1.0",
"jc>=1.23.0",
"psutil>=5.8.0"
]
Expand Down

0 comments on commit 8a7aac2

Please sign in to comment.