Skip to content

Commit c358c21

Browse files
authored
Dcr updates (#5)
* Chmod the bar file copied in as jenkins is getting it wrong again * Try a chown instead of chmod, which didn't work
1 parent 74e6d60 commit c358c21

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

11.0.0.0/ace/ubuntu-1604/demo/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ FROM ace:11.0.0.0
33
ENV BAR1=Transformation_Map.bar
44

55
# Copy in the bar file to a temporary directory
6-
COPY $BAR1 /tmp
6+
COPY --chown=aceuser $BAR1 /tmp
77

88
# Unzip the BAR file; need to use bash to make the profile work
9-
RUN bash -c 'mqsicreateworkdir /home/aceuser/ace-server && mqsibar -w /home/aceuser/ace-server -a /tmp/$BAR1 -c'
9+
RUN bash -c 'mqsibar -w /home/aceuser/ace-server -a /tmp/$BAR1 -c'
1010

1111
# Switch off the admin REST API for the server run, as we won't be deploying anything after start
1212
RUN sed -i 's/adminRestApiPort/#adminRestApiPort/g' /home/aceuser/ace-server/server.conf.yaml

0 commit comments

Comments
 (0)