Dockerfile 562 Bytes
Newer Older
Drew's avatar
Drew committed
1 2
FROM drewcrawford/swift:latest
#install atbuild
3
RUN apt-get update && apt-get install --no-install-recommends xz-utils -y
Drew's avatar
Drew committed
4
ADD https://github.com/AnarchyTools/atbuild/releases/download/0.7.1/atbuild-0.7.1-linux.tar.xz /atbuild.tar.xz
Drew's avatar
Drew committed
5
RUN tar xf atbuild.tar.xz -C /usr/local
6 7 8 9

#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
Drew's avatar
Drew committed
10
WORKDIR NaOH
11 12
# libsodium
ADD libsodium /NaOH/libsodium
Drew's avatar
Drew committed
13
RUN libsodium/build.sh
14 15

ADD . /NaOH
Drew's avatar
Drew committed
16
RUN atbuild check --use-overlay linux