RUN --mount=target=/tmp/packages.txt,source=packages.txt \ apt-get update && \ xargs -r -a /tmp/packages.txt apt-get install -y && \ apt-get install -y curl && \ curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \ apt-get install -y nodejs && \ rm -rf /var/lib/apt/lists/* && \ apt-get clean