Skip to content

Commit

Permalink
Update Dockerfile to use LANGCHAIN_VERSION argument
Browse files Browse the repository at this point in the history
Signed-off-by: Sun, Xuehao <xuehao.sun@intel.com>
  • Loading branch information
XuehaoSun committed Aug 15, 2024
1 parent e71aba0 commit 1bff239
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 22 deletions.
5 changes: 2 additions & 3 deletions DocSum/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@


# Copyright (C) 2024 Intel Corporation
# SPDX-License-Identifier: Apache-2.0

FROM langchain/langchain:latest
ARG LANGCHAIN_VERSION=latest
FROM langchain/langchain:${LANGCHAIN_VERSION}

RUN apt-get update -y && apt-get install -y --no-install-recommends --fix-missing \
libgl1-mesa-glx \
Expand Down
5 changes: 2 additions & 3 deletions FaqGen/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@


# Copyright (C) 2024 Intel Corporation
# SPDX-License-Identifier: Apache-2.0

FROM langchain/langchain:latest
ARG LANGCHAIN_VERSION=latest
FROM langchain/langchain:${LANGCHAIN_VERSION}


RUN apt-get update -y && apt-get install -y --no-install-recommends --fix-missing \
Expand Down
22 changes: 6 additions & 16 deletions Translation/docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,19 +1,9 @@
# Copyright (c) 2024 Intel Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.


FROM langchain/langchain:latest
# Copyright (C) 2024 Intel Corporation
# SPDX-License-Identifier: Apache-2.0

ARG LANGCHAIN_VERSION=latest
FROM langchain/langchain:${LANGCHAIN_VERSION}


RUN apt-get update -y && apt-get install -y --no-install-recommends --fix-missing \
libgl1-mesa-glx \
Expand Down

0 comments on commit 1bff239

Please sign in to comment.