Dockerfile 317 B

123456789
  1. from registry.centos.org/centos:8
  2. RUN set -x \
  3. && dnf install -y epel-release \
  4. && dnf install -y https://www.rpmfind.net/linux/fedora/linux/releases/30/Everything/x86_64/os/Packages/s/scsi-target-utils-1.0.70-4.fc28.x86_64.rpm
  5. COPY entrypoint.sh /
  6. ENTRYPOINT ["/entrypoint.sh"]
  7. CMD ["/usr/sbin/tgtd","-f"]