Skip to content

Commit 7e3047f

Browse files
authored
Merge pull request #1308 from hj-johannes-lee/fix-dlb-init-dockerfile-script-location
dlb: make dockerfile to have init script in /usr/local/bin
2 parents 64bdbc3 + 362f63e commit 7e3047f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

build/docker/intel-dlb-initcontainer.Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,5 +58,5 @@ LABEL vendor='Intel®'
5858
LABEL version='devel'
5959
LABEL release='1'
6060
COPY --from=builder /install_root /
61-
COPY demo/dlb-init.sh /usr/bin/
62-
ENTRYPOINT [ "/bin/bash", "dlb-init.sh"]
61+
COPY demo/dlb-init.sh /usr/local/bin/
62+
ENTRYPOINT [ "/bin/bash", "/usr/local/bin/dlb-init.sh"]

build/docker/templates/intel-dlb-initcontainer.Dockerfile.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ FROM ${FINAL_BASE}
1515

1616
COPY --from=builder /install_root /
1717

18-
COPY demo/dlb-init.sh /usr/bin/
19-
ENTRYPOINT [ "/bin/bash", "dlb-init.sh"]
18+
COPY demo/dlb-init.sh /usr/local/bin/
19+
ENTRYPOINT [ "/bin/bash", "/usr/local/bin/dlb-init.sh"]

0 commit comments

Comments
 (0)