File: Dockerfile.sbrandy

package info (click to toggle)
brandy 1.23.6-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,268 kB
  • sloc: ansic: 39,421; makefile: 91; sh: 1
file content (11 lines) | stat: -rw-r--r-- 268 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
FROM debian:12 AS build
RUN apt-get update && apt-get install -y build-essential cmake
COPY . /build
WORKDIR /build
RUN cmake .
RUN cmake --build .
RUN ctest

FROM debian:12
COPY --from=build /build/sbrandy /usr/local/bin/sbrandy
ENTRYPOINT ["/usr/local/bin/sbrandy"]