Skip to content

Commit 37fb5a5

Browse files
committed
Symlink the script to the local bin folder
Trying a different method. Instead of using the build.sh script Try to enable the scripts to execute and then symlink them to /usr/local/bin
1 parent 753be2a commit 37fb5a5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ RUN \
1111

1212
WORKDIR /config
1313
RUN git clone https://github.com/eth-p/bat-extras.git
14-
WORKDIR /config/bat-extras
15-
RUN chmod +x build.sh
16-
RUN ./build.sh
14+
WORKDIR /config/bat-extras/src
15+
RUN chmod +x *.sh
16+
RUN ln -s *.sh /usr/local/bin/
1717

1818
# copy local files
1919
COPY root/ /root-layer/

0 commit comments

Comments
 (0)