Skip to content

Commit f021e92

Browse files
committed
add truncate and backslash
1 parent 7ca224a commit f021e92

File tree

2 files changed

+3
-3
lines changed
  • intel_extension_for_transformers/neural_chat/docker

2 files changed

+3
-3
lines changed

intel_extension_for_transformers/neural_chat/docker/finetuning/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ EXPOSE ${SSHD_PORT}
7676

7777
WORKDIR /intel-extension-for-transformers/intel_extension_for_transformers/neural_chat/
7878

79-
RUN truncate -s 0 /etc/ssh/ssh_host_*_key*
80-
RUN truncate -s 0 /etc/ssh/ssh_host_*_key*.pub
79+
RUN truncate -s 0 /etc/ssh/ssh_host_*_key* && \
80+
truncate -s 0 /etc/ssh/ssh_host_*_key*.pub
8181

8282
CMD ["/usr/sbin/sshd", "-D"]
8383

intel_extension_for_transformers/neural_chat/docker/text_generation/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export DOCKER_BUILD_ARGS="--build-arg https_proxy=$https_proxy \
1818
--build-arg no_proxy=$no_proxy"
1919

2020
docker build . -f cpu/Dockerfile \
21-
${DOCKER_BUILD_ARGS}
21+
${DOCKER_BUILD_ARGS} \
2222
-t intel/intel-extension-for-transformers:text-generation-cpu-1.4.0
2323
```
2424
Or pull the docker images as follows:

0 commit comments

Comments
 (0)