-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathDockerfile.ubuntu-18.04-dev
63 lines (53 loc) · 1.62 KB
/
Dockerfile.ubuntu-18.04-dev
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
FROM ubuntu:18.04
ARG IRODS_VERSION="4.2.11"
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
apt-get install -q -y --no-install-recommends \
apt-utils \
ca-certificates \
curl \
dirmngr \
gpg \
gpg-agent \
lsb-release \
locales && \
locale-gen en_GB en_GB.UTF-8 && \
localedef -i en_GB -c -f UTF-8 -A /usr/share/locale/locale.alias en_GB.UTF-8
ENV LANG=en_GB.UTF-8 \
LANGUAGE=en_GB \
LC_ALL=en_GB.UTF-8 \
TZ=Etc/UTC
RUN curl -sSL https://packages.irods.org/irods-signing-key.asc | apt-key add - && \
echo "deb [arch=amd64] https://packages.irods.org/apt/ $(lsb_release -sc) main" |\
tee /etc/apt/sources.list.d/renci-irods.list
RUN apt-get update && \
apt-get install -q -y --no-install-recommends \
irods-dev="${IRODS_VERSION}-1~$(lsb_release -sc)" \
irods-runtime="${IRODS_VERSION}-1~$(lsb_release -sc)" \
irods-icommands="${IRODS_VERSION}-1~$(lsb_release -sc)"
RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys "E1DD270288B4E6030699E45FA1715D88E1DF1F24" && \
echo "deb https://ppa.launchpadcontent.net/git-core/ppa/ubuntu $(lsb_release -sc) main" |\
tee /etc/apt/sources.list.d/git-core.list
RUN apt-get update && \
apt-get install -q -y --no-install-recommends \
autoconf \
automake \
build-essential \
check \
cmake \
gdb \
git \
jq \
lcov \
less \
libjansson-dev \
libtool \
pkg-config \
python3-sphinx \
ssh \
valgrind \
unattended-upgrades && \
unattended-upgrade -d -v
ENV CPPFLAGS="-I/usr/include/irods" \
CK_DEFAULT_TIMEOUT=20
CMD ["/bin/bash"]