mirror of
https://github.com/vale981/apheleia
synced 2025-03-04 09:01:42 -05:00

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.
18 lines
541 B
Docker
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
|