File: slim.Dockerfile

package info (click to toggle)
stegcracker 2.1.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,576 kB
  • sloc: python: 611; makefile: 3
file content (29 lines) | stat: -rw-r--r-- 739 bytes parent folder | download | duplicates (3)
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
29
# Inherit from the base Alpine image
FROM "python:3.8-alpine"

# Image metadata
LABEL name="StegCracker"
LABEL description="Steganography brute-force utility" 
LABEL version="v2.0.9-slim"
LABEL maintainer="Paradoxis" 
LABEL website="https://github.com/Paradoxis/StegCracker/tree/v2.0.9"
LABEL license="MIT"

# Install dependencies
RUN apk update
RUN apk add steghide --repository https://dl-3.alpinelinux.org/alpine/edge/testing

# Install StegCracker
RUN mkdir -p /usr/local/bin/
WORKDIR /tmp/
COPY stegcracker /tmp/stegcracker
COPY setup.py README.md /tmp/
RUN pip install .
RUN rm -rf /tmp/stegcracker /tmp/setup.py /tmp/README.md

# Set data directory
VOLUME /data
WORKDIR /data

# Entrypoint
ENTRYPOINT ["/usr/local/bin/stegcracker"]