Skip to content

Commit 26fad51

Browse files
committed
moves directories with 'orig' files to root directory in Docker image
1 parent f061aeb commit 26fad51

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docker/Dockerfile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -70,17 +70,17 @@ COPY ar-go-tools ./ar-go-tools
7070
RUN cd ./ar-go-tools && make argot-install
7171

7272

73-
RUN mkdir dh-orig && mkdir ssm-agent-orig
73+
RUN mkdir /dh-orig && mkdir /ssm-agent-orig
7474

7575
# copy dh
76-
COPY dh ./dh-orig
76+
COPY dh /dh-orig
7777

7878
# copy ssm-agent
79-
COPY ssm-agent ./ssm-agent-orig
79+
COPY ssm-agent /ssm-agent-orig
8080

8181
# copy shell scripts
82-
COPY docker/dh/*.sh ./dh-orig
83-
COPY docker/ssm-agent/*.sh ./ssm-agent-orig
82+
COPY docker/dh/*.sh /dh-orig
83+
COPY docker/ssm-agent/*.sh /ssm-agent-orig
8484

8585
# remove some unneeded folders that come with the base image:
8686
RUN rm -r evaluation
@@ -93,8 +93,8 @@ RUN mkdir dh && mkdir ssm-agent
9393
COPY --chmod=755 <<EOT /entrypoint.sh
9494
#!/usr/bin/env bash
9595
set -e
96-
cp -r dh-orig/. dh/
97-
cp -r ssm-agent-orig/. ssm-agent/
96+
cp -r /dh-orig/. dh/
97+
cp -r /ssm-agent-orig/. ssm-agent/
9898
/bin/bash
9999
EOT
100100

0 commit comments

Comments
 (0)