Skip to content

Commit d6c34bd

Browse files
author
Thomas Miller
committed
Moved the rdap-config file to another dir.
Need to move the rdap-configuration into a seperate folder. This is to overcome limitiations in some software that do not allow volume mounts of files. Example is maven plugins that only support mount directories.
1 parent 186db7f commit d6c34bd

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,10 @@ RUN cd /build && \
2525

2626
WORKDIR /app
2727
RUN useradd -MrU conformance && \
28-
chown -R conformance /app
28+
mkdir -p /rdap-config && \
29+
chown -R conformance /app && \
30+
chown -R conformance /rdap-config
2931

3032
EXPOSE 8080
3133
USER conformance
32-
ENTRYPOINT ["/app/entrypoint.sh", "rdap-configuration.json"]
34+
ENTRYPOINT ["/app/entrypoint.sh", "/rdap-config/rdap-configuration.json"]

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ docker build -t apnic/rdap-conformance .
154154
To run the Docker container:
155155

156156
```
157-
docker run -d -v "{configuration-path}:/app/rdap-configuration.json" \
157+
docker run -d -v "{configuration-path}:/rdap-config/rdap-configuration.json" \
158158
--name rdap-conformance apnic/rdap-conformance
159159
```
160160

0 commit comments

Comments
 (0)