From f908b11a3238c6c2af144ca27518103b84bea0d7 Mon Sep 17 00:00:00 2001 From: Memiks Date: Fri, 6 Dec 2019 12:03:52 +0900 Subject: [PATCH] First commit --- .drone.yml | 8 ++++++++ Dockerfile | 17 +++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 .drone.yml create mode 100644 Dockerfile diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..8dab7ff --- /dev/null +++ b/.drone.yml @@ -0,0 +1,8 @@ +kind: pipeline +type: exec +name: exec-debian-memiks + +steps: +- name: docker build + commands: + - docker build -t 'opensmtpd-debian' . diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..3f4f901 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,17 @@ +FROM debien +LABEL Maintainer="Memiks " \ + Description="Lightweight container with OpenSMTPD on Debian Linux." + +# Install packages +RUN apt -qy update + +RUN apt-get install -qy \ + build-essential linux-libc-dev \ + autoconf automake autoconf bison libevent libressl libasr cmake libtool pkg-config \ + git curl gawk tar bzip2 ncompress xz-utils tree + + +# Override shell for bash-y debugging goodness +SHELL ["/bin/bash", "-exc"] + +WORKDIR /tmp \ No newline at end of file