File tree Expand file tree Collapse file tree 8 files changed +32
-8
lines changed
false_positives/nginx_missing_deployer
data_stream/access/_dev/deploy/docker
apache_basic_license/_dev/deploy/docker
apache/_dev/deploy/docker
access_docker_tf/_dev/deploy/docker
access/_dev/deploy/docker Expand file tree Collapse file tree 8 files changed +32
-8
lines changed Original file line number Diff line number Diff line change 1
1
ARG SERVICE_VERSION=${SERVICE_VERSION:-1.19.5}
2
2
FROM nginx:${SERVICE_VERSION}
3
- RUN sed -i "/jessie-updates/d" /etc/apt/sources.list
3
+ # move to archive
4
+ RUN sed -i 's/deb.debian/archive.debian/' /etc/apt/sources.list && \
5
+ sed -i 's/security.debian/archive.debian/' /etc/apt/sources.list && \
6
+ sed -i "/buster-updates/d" /etc/apt/sources.list
4
7
RUN apt-get update && apt-get install -y curl
5
8
HEALTHCHECK --interval=1s --retries=90 CMD curl -f http://localhost/server-status
6
9
COPY ./nginx.conf /etc/nginx/
Original file line number Diff line number Diff line change 1
1
ARG SERVICE_VERSION=${SERVICE_VERSION:-1.19.5}
2
2
FROM nginx:${SERVICE_VERSION}
3
- RUN sed -i "/jessie-updates/d" /etc/apt/sources.list
3
+ # move to archive
4
+ RUN sed -i 's/deb.debian/archive.debian/' /etc/apt/sources.list && \
5
+ sed -i 's/security.debian/archive.debian/' /etc/apt/sources.list && \
6
+ sed -i "/buster-updates/d" /etc/apt/sources.list
4
7
RUN apt-get update && apt-get install -y curl
5
8
HEALTHCHECK --interval=1s --retries=90 CMD curl -f http://localhost/server-status
6
9
COPY ./nginx.conf /etc/nginx/
Original file line number Diff line number Diff line change 1
1
ARG SERVICE_VERSION=${SERVICE_VERSION:-2.4.46}
2
2
FROM httpd:$SERVICE_VERSION
3
- RUN sed -i "/jessie-updates/d" /etc/apt/sources.list
3
+ # move to archive
4
+ RUN sed -i 's/deb.debian/archive.debian/' /etc/apt/sources.list && \
5
+ sed -i 's/security.debian/archive.debian/' /etc/apt/sources.list && \
6
+ sed -i "/buster-updates/d" /etc/apt/sources.list
4
7
RUN apt-get update && apt-get install -y curl
5
8
HEALTHCHECK --interval=1s --retries=90 CMD curl -f http://localhost
6
9
COPY ./httpd.conf /usr/local/apache2/conf/httpd.conf
Original file line number Diff line number Diff line change 1
1
ARG SERVICE_VERSION=${SERVICE_VERSION:-2.4.46}
2
2
FROM httpd:$SERVICE_VERSION
3
- RUN sed -i "/jessie-updates/d" /etc/apt/sources.list
3
+ # move to archive
4
+ RUN sed -i 's/deb.debian/archive.debian/' /etc/apt/sources.list && \
5
+ sed -i 's/security.debian/archive.debian/' /etc/apt/sources.list && \
6
+ sed -i "/buster-updates/d" /etc/apt/sources.list
4
7
RUN apt-get update && apt-get install -y curl
5
8
HEALTHCHECK --interval=1s --retries=90 CMD curl -f http://localhost
6
9
COPY ./httpd.conf /usr/local/apache2/conf/httpd.conf
Original file line number Diff line number Diff line change 1
1
ARG SERVICE_VERSION=${SERVICE_VERSION:-1.19.5}
2
2
FROM nginx:${SERVICE_VERSION}
3
- RUN sed -i "/jessie-updates/d" /etc/apt/sources.list
3
+ # move to archive
4
+ RUN sed -i 's/deb.debian/archive.debian/' /etc/apt/sources.list && \
5
+ sed -i 's/security.debian/archive.debian/' /etc/apt/sources.list && \
6
+ sed -i "/buster-updates/d" /etc/apt/sources.list
4
7
RUN apt-get update && apt-get install -y curl
5
8
HEALTHCHECK --interval=1s --retries=90 CMD curl -f http://localhost/server-status
6
9
COPY ./nginx.conf /etc/nginx/
Original file line number Diff line number Diff line change 1
1
ARG SERVICE_VERSION=${SERVICE_VERSION:-1.19.5}
2
2
FROM nginx:${SERVICE_VERSION}
3
- RUN sed -i "/jessie-updates/d" /etc/apt/sources.list
3
+ # move to archive
4
+ RUN sed -i 's/deb.debian/archive.debian/' /etc/apt/sources.list && \
5
+ sed -i 's/security.debian/archive.debian/' /etc/apt/sources.list && \
6
+ sed -i "/buster-updates/d" /etc/apt/sources.list
4
7
RUN apt-get update && apt-get install -y curl
5
8
HEALTHCHECK --interval=1s --retries=90 CMD curl -f http://localhost/server-status
6
9
COPY ./nginx.conf /etc/nginx/
Original file line number Diff line number Diff line change 1
1
ARG SERVICE_VERSION=${SERVICE_VERSION:-1.19.5}
2
2
FROM nginx:${SERVICE_VERSION}
3
- RUN sed -i "/jessie-updates/d" /etc/apt/sources.list
3
+ # move to archive
4
+ RUN sed -i 's/deb.debian/archive.debian/' /etc/apt/sources.list && \
5
+ sed -i 's/security.debian/archive.debian/' /etc/apt/sources.list && \
6
+ sed -i "/buster-updates/d" /etc/apt/sources.list
4
7
RUN apt-get update && apt-get install -y curl
5
8
HEALTHCHECK --interval=1s --retries=90 CMD curl -f http://localhost/server-status
6
9
COPY ./nginx.conf /etc/nginx/
Original file line number Diff line number Diff line change 1
1
ARG SERVICE_VERSION=${SERVICE_VERSION:-1.19.5}
2
2
FROM nginx:${SERVICE_VERSION}
3
- RUN sed -i "/jessie-updates/d" /etc/apt/sources.list
3
+ # move to archive
4
+ RUN sed -i 's/deb.debian/archive.debian/' /etc/apt/sources.list && \
5
+ sed -i 's/security.debian/archive.debian/' /etc/apt/sources.list && \
6
+ sed -i "/buster-updates/d" /etc/apt/sources.list
4
7
RUN apt-get update && apt-get install -y curl
5
8
HEALTHCHECK --interval=1s --retries=90 CMD curl -f http://localhost/server-status
6
9
COPY ./nginx.conf /etc/nginx/
You can’t perform that action at this time.
0 commit comments