Skip to content

Commit

Permalink
[irods#133] NFSRODS can now be launched using docker-compose.
Browse files Browse the repository at this point in the history
  • Loading branch information
korydraughn committed Jan 26, 2022
1 parent 2141bc5 commit 77986eb
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
FROM ubuntu:16.04

ARG sssd=false

RUN apt-get update && \
apt-get install -y apt-transport-https && \
apt-get install -y maven git openjdk-8-jdk && \
apt-get install -y libnss-sss rpcbind

ARG _github_account="irods"
ARG _sha="main"
ARG github_account="irods"
ARG commitish="main"

RUN git clone https://github.com/${_github_account}/irods_client_nfsrods
RUN git clone https://github.com/${github_account}/irods_client_nfsrods

RUN cd irods_client_nfsrods && \
git checkout ${_sha} && \
git checkout ${commitish} && \
mvn clean install -Dmaven.test.skip=true

# Provide default log4j configuration.
Expand Down
14 changes: 14 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
version: "3.7"

services:
nfsrods:
build:
context: .
args:
github_account: irods
commitish: master
ports:
- "2049:2049"
volumes:
- "./local_config:/nfsrods_config:ro"
- "/etc/passwd:/etc/passwd:ro"

0 comments on commit 77986eb

Please sign in to comment.