Public Repository

Last pushed: 2 years ago
Short Description
Short description is empty for this repo.
Full Description

FROM fedora:latest
MAINTAINER chwesley@tw.ibm.com

ENV container docker
WORKDIR /root

RUN dnf -y update

RUN dnf -y install systemd;\
(cd /lib/systemd/system/sysinit.target.wants/; for i in ; do [ $i == systemd-tmpfiles-setup.service ] || rm -f $i; done); \
rm -f /lib/systemd/system/multi-user.target.wants/
;\
rm -f /etc/systemd/system/.wants/;\
rm -f /lib/systemd/system/local-fs.target.wants/; \
rm -f /lib/systemd/system/sockets.target.wants/
udev; \
rm -f /lib/systemd/system/sockets.target.wants/
initctl; \
rm -f /lib/systemd/system/basic.target.wants/
;\
rm -f /lib/systemd/system/anaconda.target.wants/*;

RUN dnf -y install kernel-devel vim tar libpcap httpd mod_ssl squid tcpdump dhcp mailx dhclient net-tools gcc make unzip ftp wireshark nmap rsyslog net-snmp net-snmp-utils passwd postfix php psmisc openssl openssl- openssh openssh-server openssh-clients vsftpd vconfig hping3 iperf rsh rsh-server iptables libstdc++.i686 compat-libstdc++-33 gcc-c++ libaio bc ksh tigervnc tigervnc-server man gnome-session; dnf clean all
RUN wget https://github.com/vanhauser-thc/thc-ipv6/archive/master.zip; unzip master.zip; cd thc-ipv6-master; make; make install; make clean; cd ..; rm -rf master.zip thc-ipv6-master

RUN echo "HOSTNAME=fc14server" >> /etc/sysconfig/network
RUN echo "ServerName fc14server.test.iss.ibm.com" >> /etc/httpd/conf/httpd.conf

RUN systemctl enable httpd.service; systemctl disable firewalld.service; echo "PASSWORD_TO_BE_SET" | passwd --stdin root

VOLUME [ "/sys/fs/cgroup" ]
CMD ["/usr/sbin/init"]

Docker Pull Command
Owner
issatf

Comments (0)