apheleia/test/formatters/Dockerfile
Radon Rosborough 598ef3c7cb
Small fixes (#245)
Some things I noticed from
https://github.com/radian-software/apheleia/pull/242 but didn't want to
patch in place because CI had passed already.
2023-11-11 16:28:17 -08:00

18 lines
541 B
Docker

# Ubuntu 22.04 LTS supported until April 2027
FROM ubuntu:22.04 AS common
WORKDIR /build
COPY install-common.bash /build/
RUN ./install-common.bash
# Add an intermediate tag so that it is possible to execute debugging
# code before formatter installation. This is necessary because with
# the newer docker build based on buildkit, you can't access
# intermediate image layers by default anymore.
FROM common
ARG FORMATTERS
COPY install-formatters.bash /build/
COPY installers /build/installers/
RUN ./install-formatters.bash
WORKDIR /src