22 lines
752 B
Docker
22 lines
752 B
Docker
FROM jdkato/vale:latest as vale
|
|
|
|
FROM andreysenov/firebase-tools:latest
|
|
|
|
USER root
|
|
|
|
RUN echo installing dependencies...
|
|
RUN apt update \
|
|
&& apt -y install git woff2 bash curl wget gnupg2 \
|
|
&& ( \
|
|
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \
|
|
&& echo "deb http://dl.google.com/linux/chrome/deb/ stable main" | tee -a /etc/apt/sources.list.d/google.list \
|
|
&& (apt update; apt --fix-broken install; apt -y install google-chrome-stable) \
|
|
) \
|
|
&& curl -L https://github.com/svenstaro/miniserve/releases/download/v0.24.0/miniserve-0.24.0-x86_64-unknown-linux-musl > /bin/miniserve \
|
|
&& chmod +x /bin/miniserve
|
|
|
|
RUN echo copying vale...
|
|
COPY --from=vale /bin/vale /bin/vale
|
|
|
|
RUN echo OK
|