fix hadolint error (#9223)
This commit is contained in:
parent
5850241423
commit
9dc76f19c0
4 changed files with 7 additions and 7 deletions
|
|
@ -12,7 +12,7 @@ FROM mpioperator/intel as builder
|
|||
ARG http_proxy
|
||||
ARG https_proxy
|
||||
ENV PIP_NO_CACHE_DIR=false
|
||||
ADD ./requirements.txt /bigdl/requirements.txt
|
||||
COPY ./requirements.txt /bigdl/requirements.txt
|
||||
|
||||
# add public key
|
||||
COPY --from=key-getter /root/intel-oneapi-archive-keyring.gpg /usr/share/keyrings/intel-oneapi-archive-keyring.gpg
|
||||
|
|
@ -56,8 +56,8 @@ RUN mkdir /bigdl/data && mkdir /bigdl/model && \
|
|||
echo " UserKnownHostsFile /dev/null" >> /etc/ssh/ssh_config && \
|
||||
sed -i 's/#\(StrictModes \).*/\1no/g' /etc/ssh/sshd_config
|
||||
|
||||
ADD ./bigdl-lora-finetuing-entrypoint.sh /bigdl/bigdl-lora-finetuing-entrypoint.sh
|
||||
ADD ./lora_finetune.py /bigdl/lora_finetune.py
|
||||
COPY ./bigdl-lora-finetuing-entrypoint.sh /bigdl/bigdl-lora-finetuing-entrypoint.sh
|
||||
COPY ./lora_finetune.py /bigdl/lora_finetune.py
|
||||
|
||||
RUN chown -R mpiuser /bigdl
|
||||
USER mpiuser
|
||||
|
|
|
|||
|
|
@ -35,4 +35,4 @@ RUN curl -fsSL https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-P
|
|||
pip install peft==0.5.0 datasets && \
|
||||
wget https://raw.githubusercontent.com/intel-analytics/BigDL/main/python/llm/example/GPU/QLoRA-FineTuning/qlora_finetuning.py
|
||||
|
||||
ADD ./start-qlora-finetuning-on-xpu.sh /start-qlora-finetuning-on-xpu.sh
|
||||
COPY ./start-qlora-finetuning-on-xpu.sh /start-qlora-finetuning-on-xpu.sh
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ ARG PIP_NO_CACHE_DIR=false
|
|||
|
||||
ENV PYTHONUNBUFFERED=1
|
||||
|
||||
ADD ./start-notebook.sh /llm/start-notebook.sh
|
||||
COPY ./start-notebook.sh /llm/start-notebook.sh
|
||||
|
||||
# Install PYTHON 3.9
|
||||
RUN env DEBIAN_FRONTEND=noninteractive apt-get update && \
|
||||
|
|
|
|||
|
|
@ -7,8 +7,8 @@ ARG TINI_VERSION=v0.18.0
|
|||
# Disable pip's cache behavior
|
||||
ARG PIP_NO_CACHE_DIR=false
|
||||
|
||||
ADD ./entrypoint.sh /opt/entrypoint.sh
|
||||
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /sbin/tini
|
||||
COPY ./entrypoint.sh /opt/entrypoint.sh
|
||||
COPY https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /sbin/tini
|
||||
# Install Serving Dependencies
|
||||
RUN mkdir /llm && \
|
||||
cd /llm && \
|
||||
|
|
|
|||
Loading…
Reference in a new issue