File Dockerfile of Package derived-docker

# Defines the tag for OBS and build script builds:
#!BuildTag: scapy

FROM opensuse/tumbleweed

# Work around https://github.com/openSUSE/obs-build/issues/487
RUN zypper install -y openSUSE-release-appliance-docker

# Put additional files into container
COPY scapy-2.5.0.tar.gz /tmp

# Install further packages using zypper
RUN zypper install -y python3 python3-ipython python3-pip libpcap1 tar

RUN cd /tmp && tar -zxvf scapy-2.5.0.tar.gz && cd scapy-2.5.0 && python3 ./setup.py install

# This command will get executed on container start by default
CMD /usr/bin/python3

openSUSE Build Service is sponsored by