File: Dockerfile

package info (click to toggle)
earlyoom 1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 204 kB
  • sloc: ansic: 718; makefile: 82; sh: 71
file content (14 lines) | stat: -rw-r--r-- 157 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
FROM gcc as build

WORKDIR /usr/src
COPY . .

ENV CFLAGS -static
RUN make

###

FROM scratch
COPY --from=build /usr/src/earlyoom /

ENTRYPOINT ["/earlyoom"]