Skip to content

Commit

Permalink
[#426] Pinned docker test framework for 4.2 to Ubuntu 18 and 4.2.12.
Browse files Browse the repository at this point in the history
  • Loading branch information
korydraughn committed Aug 8, 2023
1 parent 79fd90b commit 00528d4
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 14 deletions.
10 changes: 5 additions & 5 deletions docker-test-framework/4-2/Dockerfile.consumer
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
#
# iRODS Consumer Image.
#
FROM ubuntu:16.04
FROM ubuntu:18.04

# TODO: Remove this line when apt gets its stuff together
RUN sed --in-place --regexp-extended "s/(\/\/)(archive\.ubuntu)/\1nl.\2/" /etc/apt/sources.list
#RUN sed --in-place --regexp-extended "s/(\/\/)(archive\.ubuntu)/\1nl.\2/" /etc/apt/sources.list

RUN apt-get update && \
apt-get install -y sudo wget less lsb-release apt-transport-https netcat
apt-get install -y sudo wget less lsb-release apt-transport-https netcat gnupg2

RUN wget -qO - 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 -y irods-runtime irods-icommands irods-server
apt-get install -y irods-runtime=4.2.12-1~bionic irods-icommands=4.2.12-1~bionic irods-server=4.2.12-1~bionic

EXPOSE 1247 1248

# Set command to execute when launching the container.
ADD start_consumer.sh irods_consumer.input /
RUN chmod u+x /start_consumer.sh
ENTRYPOINT ["./start_consumer.sh"]
ENTRYPOINT ["./start_consumer.sh"]
12 changes: 6 additions & 6 deletions docker-test-framework/4-2/Dockerfile.provider
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
#
# iRODS Provider Image.
#
FROM ubuntu:16.04
FROM ubuntu:18.04

# TODO: Remove this line when apt gets its stuff together
RUN sed --in-place --regexp-extended "s/(\/\/)(archive\.ubuntu)/\1nl.\2/" /etc/apt/sources.list
#RUN sed --in-place --regexp-extended "s/(\/\/)(archive\.ubuntu)/\1nl.\2/" /etc/apt/sources.list

ENV DEBIAN_FRONTEND=noninteractive

# Install pre-requisites
RUN apt-get update && \
apt-get install -y sudo wget lsb-release apt-transport-https postgresql vim python-pip libfuse2 unixodbc rsyslog less && \
apt-get install -y sudo wget lsb-release apt-transport-https postgresql vim python-pip libfuse2 unixodbc rsyslog less gnupg2 && \
pip install xmlrunner

# Setup catalog database
Expand All @@ -18,7 +20,7 @@ RUN service postgresql start && su - postgres -c 'psql -f /db_commands.txt'
RUN wget -qO - 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 -y irods-runtime irods-icommands irods-server irods-database-plugin-postgres
apt-get install -y irods-runtime=4.2.12-1~bionic irods-icommands=4.2.12-1~bionic irods-server=4.2.12-1~bionic irods-database-plugin-postgres=4.2.12-1~bionic

EXPOSE 1247 1248

Expand All @@ -30,5 +32,3 @@ ADD testsetup-consortium.sh /
RUN chmod +x /testsetup-consortium.sh
RUN chmod u+x /start_provider.sh
ENTRYPOINT ["./start_provider.sh"]


4 changes: 1 addition & 3 deletions docker-test-framework/4-2/Dockerfile.testbuild
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,4 @@ FROM maven:3.6.3-jdk-11
RUN apt-get update && \
apt-get install -y sudo wget nano



CMD tail -f /dev/null
CMD tail -f /dev/null

0 comments on commit 00528d4

Please sign in to comment.