Commit 03c9b0ca authored by Drew's avatar Drew

Improve cacheability of linux builds in Docker

parent 609a4339
......@@ -3,6 +3,19 @@ FROM drewcrawford/swift:latest
RUN apt-get update && apt-get install --no-install-recommends xz-utils -y
ADD /atbuild.tar.xz
RUN tar xf atbuild.tar.xz -C /usr/local
#provide some relief for caching
#these lines can actually be commented out, but make the build process more cacheable
#speeding up build times in common cases
# AnarchyDispatch
ADD AnarchyDispatch /NaOH/AnarchyDispatch
ADD build.atpkg /NaOH/build.atpkg
RUN atbuild AnarchyDispatch.default
# libsodium
ADD libsodium /NaOH/libsodium
RUN atbuild libsodium
RUN LD_LIBRARY_PATH=AnarchyDispatch/build/lib atbuild check --overlay linux
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment