File: Dockerfile

package info (click to toggle)
funcoeszz 21.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 4,424 kB
  • sloc: sh: 27,355; perl: 509; xml: 54; makefile: 8
file content (28 lines) | stat: -rw-r--r-- 762 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
FROM debian:jessie
MAINTAINER Aurelio Jargas <verde@aurelio.net>

RUN apt-get update && \
    DEBIAN_FRONTEND=noninteractive apt-get install -y bc curl lynx links unzip && \
    rm -rf /var/lib/apt/lists/*

# Using dumb-init to catch user signals https://github.com/funcoeszz/funcoeszz/issues/374
RUN curl -fsSL https://github.com/Yelp/dumb-init/releases/download/v1.2.0/dumb-init_1.2.0_amd64 > /dumb-init && \
    chmod +x /dumb-init

ENV PATH=/app:$PATH \
    ZZPATH=/app/funcoeszz \
    ZZDIR=/app/zz \
    ZZTMPDIR=/tmp \
    LC_ALL=C.UTF-8 \
    TERM=xterm \
    PAGER=more

# User may want to preserve the functions cache
VOLUME /tmp

COPY funcoeszz /app/
COPY zz/ /app/zz/
WORKDIR /app

ENTRYPOINT ["/dumb-init", "--", "bash", "funcoeszz"]
CMD ["--help"]