From 48b70a9ea5fc37da9accae81f20d1f624ab6e8e6 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Sun, 13 Sep 2020 19:22:06 +0200 Subject: [PATCH] contrib: Dockerfile: add editorconfig-checker Co-authored-by: Jan-Niklas Burfeind version bump to 2.6.0 aligned indentation --- contrib/docker/Dockerfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/contrib/docker/Dockerfile b/contrib/docker/Dockerfile index f003bafb..ffcd67de 100644 --- a/contrib/docker/Dockerfile +++ b/contrib/docker/Dockerfile @@ -24,6 +24,12 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* +RUN mkdir /tmp/ec &&\ + wget -O /tmp/ec/ec-linux-amd64.tar.gz https://github.com/editorconfig-checker/editorconfig-checker/releases/download/2.6.0/ec-linux-amd64.tar.gz &&\ + tar -xvzf /tmp/ec/ec-linux-amd64.tar.gz &&\ + mv bin/ec-linux-amd64 /usr/local/bin/editorconfig-checker &&\ + rm -rf /tmp/ec + RUN useradd -d /gluon gluon USER gluon