2022-08-30 23:40:01 +00:00
|
|
|
FROM debian:bullseye-slim
|
2019-06-06 21:36:19 +00:00
|
|
|
|
2021-04-07 16:01:56 +00:00
|
|
|
ARG DEBIAN_FRONTEND=noninteractive
|
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
2019-06-06 21:36:19 +00:00
|
|
|
ca-certificates \
|
|
|
|
file \
|
|
|
|
git \
|
2020-03-05 23:45:16 +00:00
|
|
|
python3 \
|
2022-11-20 02:11:21 +00:00
|
|
|
python3-distutils \
|
2019-06-06 21:36:19 +00:00
|
|
|
build-essential \
|
|
|
|
gawk \
|
|
|
|
unzip \
|
|
|
|
libncurses5-dev \
|
|
|
|
zlib1g-dev \
|
|
|
|
libssl-dev \
|
|
|
|
libelf-dev \
|
|
|
|
wget \
|
2020-05-09 20:44:53 +00:00
|
|
|
rsync \
|
2019-06-06 21:36:19 +00:00
|
|
|
time \
|
2021-01-12 14:24:20 +00:00
|
|
|
qemu-utils \
|
2019-06-06 21:36:19 +00:00
|
|
|
ecdsautils \
|
|
|
|
lua-check \
|
2019-12-29 14:54:27 +00:00
|
|
|
shellcheck \
|
2022-12-18 19:59:03 +00:00
|
|
|
&& apt-get clean \
|
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
2019-06-06 21:36:19 +00:00
|
|
|
|
2020-09-13 17:22:06 +00:00
|
|
|
RUN mkdir /tmp/ec &&\
|
2023-01-15 16:17:14 +00:00
|
|
|
wget -O /tmp/ec/ec-linux-amd64.tar.gz https://github.com/editorconfig-checker/editorconfig-checker/releases/download/2.7.0/ec-linux-amd64.tar.gz &&\
|
2020-09-13 17:22:06 +00:00
|
|
|
tar -xvzf /tmp/ec/ec-linux-amd64.tar.gz &&\
|
|
|
|
mv bin/ec-linux-amd64 /usr/local/bin/editorconfig-checker &&\
|
|
|
|
rm -rf /tmp/ec
|
|
|
|
|
2019-06-06 21:36:19 +00:00
|
|
|
RUN useradd -d /gluon gluon
|
|
|
|
USER gluon
|
|
|
|
|
|
|
|
VOLUME /gluon
|
|
|
|
WORKDIR /gluon
|