FROM ubuntu:22.04 as build # Used to invalidate layer cache but not mount cache # See https://github.com/moby/moby/issues/41715#issuecomment-733976493 ARG UNIQUEKEY 1 COPY dist/get_deps_debian.sh /tmp RUN --mount=type=cache,target=/var/apt/cache <