File: Dockerfile

package info (click to toggle)
zfs-autobackup 3.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 616 kB
  • sloc: python: 5,044; sh: 94; makefile: 3
file content (17 lines) | stat: -rw-r--r-- 336 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
FROM alpine:3.18


#base packages
RUN apk update
RUN apk add py3-pip

#zfs autobackup tests dependencies
RUN apk add zfs openssh lzop pigz zstd gzip xz lz4 mbuffer udev zfs-udev


#python modules
COPY requirements.txt /
RUN pip3 install -r requirements.txt

#git repo should be mounted in /app:
ENTRYPOINT [ "/app/tests/tests_docker" ]