-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 8eaf8d0
Showing
2 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
FROM scottw/alpine-perl | ||
MAINTAINER cnrd | ||
|
||
# set version label | ||
ARG BUILD_DATE | ||
ARG VERSION | ||
LABEL build_version="version:- ${VERSION} Build-date:- ${BUILD_DATE}" | ||
|
||
# package link | ||
ENV NET_GITHUB="git://github.com/dk/Net-Eboks" | ||
|
||
# install deps | ||
RUN apk add --no-cache \ | ||
git \ | ||
openssl-dev \ | ||
openssl \ | ||
expat-dev &&\ | ||
|
||
# install cpan modules | ||
yes yes | cpan Date::Format && \ | ||
yes yes | cpan IO::Socket::SSL && \ | ||
yes yes | cpan Module::Runtime && \ | ||
|
||
|
||
# install Net-Eboks | ||
cpanm $NET_GITHUB | ||
|
||
EXPOSE 110 | ||
CMD "/usr/local/bin/eboks2pop" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
A Dockerfile for [Net-Eboks](https://github.com/dk/Net-Eboks) all credit for Net-Eboks goes to the people on that Git. | ||
|
||
Dockerfile is inspired by Linuxserver.io |