Skip to content

Commit

Permalink
fix: revert as casing in dockerfile to resolve codeql vuln
Browse files Browse the repository at this point in the history
Signed-off-by: Sean O'Hair <[email protected]>
  • Loading branch information
seanohair22 committed Aug 22, 2024
1 parent f3aa74c commit 9deee57
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion helm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# SPDX-License-Identifier: Apache-2.0
#

FROM intel/dlstreamer:2024.1.1-dev-ubuntu22 AS base
FROM intel/dlstreamer:2024.1.1-dev-ubuntu22 as base
USER root

COPY helm/requirements.txt /requirements.txt
Expand Down
6 changes: 3 additions & 3 deletions src/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
# SPDX-License-Identifier: Apache-2.0
#

FROM intel/dlstreamer:2024.1.1-dev-ubuntu22 AS base
FROM intel/dlstreamer:2024.1.1-dev-ubuntu22 as base
USER root

FROM base AS build-default
FROM base as build-default
COPY ./requirements.txt /requirements.txt
RUN pip3 install --upgrade pip --no-cache-dir -r /requirements.txt
WORKDIR /
Expand All @@ -16,7 +16,7 @@ COPY /pipelines /home/pipeline-server/pipelines
COPY entrypoint.sh /script/entrypoint.sh
RUN chmod +x /script/entrypoint.sh

FROM base AS build-realsense
FROM base as build-realsense
RUN if [ -n "$HTTP_PROXY" ] ; then echo "Acquire::http::Proxy \"$HTTP_PROXY\";" > /etc/apt/apt.conf; fi
RUN apt-get update -y || true; DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
build-essential \
Expand Down

0 comments on commit 9deee57

Please sign in to comment.