Fix .dockerignore, add docker build for arm64

This commit is contained in:
2021-09-05 11:06:04 -04:00
parent f4e1d90a6b
commit 0acdaab31a
3 changed files with 44 additions and 23 deletions

View File

@@ -2,10 +2,12 @@ FROM simon987/sist2-build as build
MAINTAINER simon987 <me@simon987.net>
WORKDIR /build/
ADD . /build/
COPY . .
RUN cmake -DSIST_PLATFORM=x64_linux -DSIST_DEBUG=off -DBUILD_TESTS=off -DCMAKE_TOOLCHAIN_FILE=/vcpkg/scripts/buildsystems/vcpkg.cmake .
RUN make -j$(nproc)
RUN strip sist2
RUN ls -lh
RUN ls -lh sist2-vue/dist/
FROM ubuntu:20.10