forked from wtsi-npg/baton
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile.ubuntu-22.04-dev
65 lines (52 loc) · 1.53 KB
/
Dockerfile.ubuntu-22.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
64
65
FROM ubuntu:22.04
ARG IRODS_VERSION="4.3-nightly"
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
ENV NIGHTLY_URL_BASE="https://github.com/wtsi-npg/irods_development_environment/releases/download/nightly/"
WORKDIR /app
RUN curl -sSL \
-O ${NIGHTLY_URL_BASE}irods-dev_4.3.0-1.jammy_amd64.deb \
-O ${NIGHTLY_URL_BASE}irods-runtime_4.3.0-1.jammy_amd64.deb \
-O ${NIGHTLY_URL_BASE}irods-icommands_4.3.0-1.jammy_amd64.deb
RUN ls -l && apt-get install -y ./*.deb && rm -f ./*.deb
RUN apt-get update && \
apt-get install -q -y --no-install-recommends \
autoconf \
automake \
build-essential \
check \
cmake \
gdb \
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"]