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