Dockerfile 428 Bytes
Newer Older
Drew's avatar
Drew committed
1
FROM drewcrawford/buildbase:latest
Drew's avatar
Drew committed
2
#install atbuild
Drew's avatar
Drew committed
3 4
RUN apt-get update && apt-get install atbuild atpm caroline-static-tool
WORKDIR NaOH
5 6 7 8 9 10

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

ADD . /NaOH
Drew's avatar
Drew committed
14
RUN atpm fetch
Drew's avatar
Drew committed
15
RUN atbuild check --use-overlay linux