From 95f1d0ca3e6d3cf1590b857d07f793d12a019096 Mon Sep 17 00:00:00 2001 From: Stephan Ruloff Date: Sat, 17 Apr 2021 12:30:38 +0200 Subject: [PATCH 1/3] No need to create a workspace yourself, WORKDIR will do it for you. --- Dockerfile | 1 - 1 file changed, 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index a1062b7..2dc5f3a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,6 @@ LABEL app.name="${APP}" \ maintainer="Sebastian Glahn " RUN pip install -U platformio==${APP_VERSION} && \ - mkdir -p /workspace && \ mkdir -p /.platformio && \ chmod a+rwx /.platformio && \ apt update && apt install -y git && apt-get clean autoclean && apt-get autoremove --yes && rm -rf /var/lib/{apt,dpkg,cache,log}/ From 19195ebc2ed08c7bc7b09b5ad978bb8b17a73d82 Mon Sep 17 00:00:00 2001 From: Stephan Ruloff Date: Sat, 17 Apr 2021 12:35:56 +0200 Subject: [PATCH 2/3] Removed warning about apt Switch from apt to apt-get. "WARNING: apt does not have a stable CLI interface. Use with caution in scripts." --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 2dc5f3a..f29668d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,7 @@ LABEL app.name="${APP}" \ RUN pip install -U platformio==${APP_VERSION} && \ mkdir -p /.platformio && \ chmod a+rwx /.platformio && \ - apt update && apt install -y git && apt-get clean autoclean && apt-get autoremove --yes && rm -rf /var/lib/{apt,dpkg,cache,log}/ + apt-get update && apt-get install -y git && apt-get clean autoclean && apt-get autoremove --yes && rm -rf /var/lib/{apt,dpkg,cache,log}/ USER 1001 From 3cfadf70dc6e0c776f22012e198692dfd1d01bad Mon Sep 17 00:00:00 2001 From: Stephan Ruloff Date: Sat, 17 Apr 2021 12:39:40 +0200 Subject: [PATCH 3/3] PlatformIO to Version 5.1.1 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index f29668d..b1ef765 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM python:3.9.0-slim -ENV APP_VERSION="5.1.0" \ +ENV APP_VERSION="5.1.1" \ APP="platformio-core" LABEL app.name="${APP}" \