forked from geduldia/autoChirp
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
37 lines (29 loc) · 729 Bytes
/
Dockerfile
File metadata and controls
37 lines (29 loc) · 729 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# dockerbuild/autochirp
FROM debian:latest
MAINTAINER Philip Schildkamp <philip.schlildkamp@lmu.de>
# sanity
ENV \
DEBIAN_FRONTEND="noninteractive" \
LANG="C.UTF-8" \
LANGUAGE="C.UTF-8" \
LC_ALL="C.UTF-8"
# configuration
ENV \
AUTOCHIRP_PATH="/autochirp" \
BACKPORTS_REPO="deb http://http.debian.net/debian jessie-backports main contrib non-free" \
APT_PACKAGES=" \
ca-certificates \
maven \
openjdk-8-jdk \
"
# environment
RUN \
echo ${BACKPORTS_REPO} >> /etc/apt/sources.list \
&& apt-get update \
&& apt-get -y --no-install-recommends install ${APT_PACKAGES}
# build
COPY ./ ${AUTOCHIRP_PATH}/
VOLUME ${AUTOCHIRP_PATH}/target
CMD \
cd ${AUTOCHIRP_PATH} \
&& mvn package war:war