fix docker files

This commit is contained in:
Simon Larsen 2023-02-17 11:52:48 +00:00
parent 2eb64aef6e
commit 195cd4aab4
No known key found for this signature in database
GPG Key ID: AB45983AA9C81CDE
5 changed files with 2975 additions and 2303 deletions

View File

@ -54,9 +54,6 @@ RUN mkdir /usr/src/app
WORKDIR /usr/src/app
# Install trivy for container scanning
RUN curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/master/contrib/install.sh | sh -s -- -b /usr/local/bin
# Install app dependencies
COPY ./Alert/package*.json /usr/src/app/
RUN npm install

File diff suppressed because it is too large Load Diff

View File

@ -52,9 +52,6 @@ COPY ./CommonServer /usr/src/CommonServer
RUN mkdir /usr/src/app
WORKDIR /usr/src/app
# Install trivy for container scanning
RUN curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/master/contrib/install.sh | sh -s -- -b /usr/local/bin
# Install kubectl for kubernetes monitor scanning
RUN OS_ARCHITECTURE="amd64"
RUN if [[ "$(uname -m)" -eq "aarch64" ]] ; then OS_ARCHITECTURE="arm64" ; fi

View File

@ -53,9 +53,6 @@ RUN mkdir /usr/src/app
WORKDIR /usr/src/app
# Install trivy for container scanning
RUN curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/master/contrib/install.sh | sh -s -- -b /usr/local/bin
# Install app dependencies
COPY ./Workflow/package*.json /usr/src/app/
RUN npm install

File diff suppressed because it is too large Load Diff