-
Notifications
You must be signed in to change notification settings - Fork 19
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
Showing
14 changed files
with
210 additions
and
273 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
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
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,62 @@ | ||
FROM ubuntu:bionic | ||
|
||
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections && \ | ||
apt-get update && \ | ||
apt-get install -q -y --no-install-recommends \ | ||
apt-utils \ | ||
ca-certificates \ | ||
curl \ | ||
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 | ||
|
||
ENV IRODS_VERSION=4.2.11-1~bionic | ||
|
||
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 && \ | ||
apt-get update && \ | ||
apt-get install -q -y --no-install-recommends \ | ||
irods-dev="$IRODS_VERSION" \ | ||
irods-runtime="$IRODS_VERSION" \ | ||
irods-icommands="$IRODS_VERSION" | ||
|
||
RUN apt-get update && \ | ||
apt-get install -q -y --no-install-recommends \ | ||
autoconf \ | ||
automake \ | ||
build-essential \ | ||
check \ | ||
gdb \ | ||
git \ | ||
jq \ | ||
lcov \ | ||
less \ | ||
libjansson-dev \ | ||
libtool \ | ||
pkg-config \ | ||
ssh \ | ||
valgrind \ | ||
unattended-upgrades && \ | ||
unattended-upgrade -d -v | ||
|
||
ARG USER=baton | ||
ARG UID=1000 | ||
ARG GID=$UID | ||
|
||
RUN groupadd --gid $GID $USER && \ | ||
useradd --uid $UID --gid $GID --shell /bin/bash --create-home $USER | ||
|
||
USER $USER | ||
|
||
ENV CPPFLAGS="-I/usr/include/irods" \ | ||
CK_DEFAULT_TIMEOUT=20 | ||
|
||
CMD ["/bin/bash"] |
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
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,21 @@ | ||
services: | ||
irods-server: | ||
container_name: irods-server | ||
image: "ghcr.io/wtsi-npg/ub-18.04-irods-${IRODS_VERSION:-4.2.11}:${DOCKER_TAG:-latest}" | ||
restart: always | ||
ports: | ||
- "1247:1247" | ||
- "20000-20199:20000-20199" | ||
|
||
baton: | ||
image: baton | ||
platform: linux/amd64 | ||
build: | ||
context: . | ||
dockerfile: ./Dockerfile | ||
volumes: | ||
- "${PWD}:/code" | ||
environment: | ||
IRODS_ENVIRONMENT_FILE: "/code/tests/.irods/irods_environment.json" | ||
depends_on: | ||
- irods-server |
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
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
Oops, something went wrong.