File: Dockerfile

package info (click to toggle)
sen 0.8.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,516 kB
  • sloc: python: 5,456; xml: 21; makefile: 5
file content (19 lines) | stat: -rw-r--r-- 633 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
FROM alpine:3.20
MAINTAINER Tomas Tomecek <tomas@tomecek.net>

LABEL RUN docker run -v /var/run/docker.sock:/run/docker.sock -ti -e TERM --name \${NAME} \${IMAGE}

COPY . /home/sen

RUN apk update \
    && apk add python3 py3-pip \
    && apk add -t build python3-dev py3-pip libc-dev gcc git \
    && pip install --break-system-packages urwid \
    && pip install --break-system-packages -r /home/sen/requirements.txt \
    && pip install --break-system-packages /home/sen \
    && apk del --purge build python3-dev libc-dev gcc sqlite-libs git \
    && rm /var/cache/apk/*

ENV DOCKER_HOST http+unix://run/docker.sock

CMD ["sen"]