Skip to content

Commit 7fd446f

Browse files
authored
Merge pull request #25 from cisagov/maintenance/update_image_dependencies
Update Image Dependencies
2 parents 7239744 + 1af9fe2 commit 7fd446f

File tree

6 files changed

+201
-150
lines changed

6 files changed

+201
-150
lines changed

Dockerfile

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG PY_VERSION=3.9.6
1+
ARG PY_VERSION=3.10.5
22

33
FROM python:${PY_VERSION}-bullseye AS compile-stage
44

@@ -10,7 +10,7 @@ LABEL org.opencontainers.image.vendor="Cybersecurity and Infrastructure Security
1010

1111
RUN apt-get update \
1212
&& apt-get install -y --allow-downgrades --no-install-recommends \
13-
libxml2-dev=2.9.10+dfsg-6.7 \
13+
libxml2-dev=2.9.10+dfsg-6.7+deb11u2 \
1414
libxslt1-dev=1.1.34-4
1515

1616
ENV PY_VENV=/.venv
@@ -21,10 +21,10 @@ ENV PATH="${PY_VENV}/bin:$PATH"
2121

2222
# Install core Python dependencies
2323
RUN python -m pip install --no-cache-dir \
24-
pip==21.1.3 \
25-
pipenv==2021.5.29 \
26-
setuptools==57.4.0 \
27-
wheel==0.36.2
24+
pip==22.1.2 \
25+
pipenv==2022.6.7 \
26+
setuptools==62.4.0 \
27+
wheel==0.37.1
2828

2929
# Install vdp_scanner.py requirements
3030
COPY src/Pipfile Pipfile
@@ -41,9 +41,9 @@ FROM python:${PY_VERSION}-slim-bullseye AS build-stage
4141
RUN apt-get update \
4242
&& apt-get install -y --allow-downgrades --no-install-recommends \
4343
ca-certificates=20210119 \
44-
chromium=90.0.4430.212-1 \
45-
chromium-common=90.0.4430.212-1 \
46-
libxml2-dev=2.9.10+dfsg-6.7 \
44+
chromium=102.0.5005.115-1~deb11u1 \
45+
chromium-common=102.0.5005.115-1~deb11u1 \
46+
libxml2-dev=2.9.10+dfsg-6.7+deb11u2 \
4747
libxslt1-dev=1.1.34-4 \
4848
&& apt-get clean \
4949
&& rm -rf /var/lib/apt/lists/*

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Python library. Then it will output CSVs with agency and domain level results.
2525
To run the `cisagov/vdp-scanner` image via Docker:
2626

2727
```console
28-
docker run cisagov/vdp-scanner:0.0.5-rc.1
28+
docker run cisagov/vdp-scanner:0.0.5
2929
```
3030

3131
### Running with Docker Compose ###
@@ -38,7 +38,7 @@ docker run cisagov/vdp-scanner:0.0.5-rc.1
3838

3939
services:
4040
vdp-scanner:
41-
image: 'cisagov/vdp-scanner:0.0.5-rc.1'
41+
image: 'cisagov/vdp-scanner:0.0.5'
4242
volumes:
4343
- .:/task/host_mount
4444
```
@@ -76,7 +76,7 @@ docker run cisagov/vdp-scanner:0.0.5-rc.1
7676
1. Pull the new image:
7777

7878
```console
79-
docker pull cisagov/vdp-scanner:0.0.5-rc.1
79+
docker pull cisagov/vdp-scanner:0.0.5
8080
```
8181

8282
1. Recreate and run the container by following the [previous instructions](#running-with-docker).
@@ -85,11 +85,11 @@ docker run cisagov/vdp-scanner:0.0.5-rc.1
8585

8686
The images of this container are tagged with
8787
[semantic versions](https://semver.org). It is recommended that most users use
88-
a version tag (e.g. `:0.0.5-rc.1`).
88+
a version tag (e.g. `:0.0.5`).
8989

9090
| Image:tag | Description |
9191
|-----------|-------------|
92-
|`cisagov/vdp-scanner:0.0.5-rc.1`| An exact release version. |
92+
|`cisagov/vdp-scanner:0.0.5`| An exact release version. |
9393
|`cisagov/vdp-scanner:0.0`| The most recent release matching the major and minor version numbers. |
9494
|`cisagov/vdp-scanner:0`| The most recent release matching the major version number. |
9595
|`cisagov/vdp-scanner:edge` | The most recent image built from a merge into the `develop` branch of this repository. |
@@ -155,7 +155,7 @@ Build the image locally using this git repository as the [build context](https:/
155155

156156
```console
157157
docker build \
158-
--tag cisagov/vdp-scanner:0.0.5-rc.1 \
158+
--tag cisagov/vdp-scanner:0.0.5 \
159159
https://github.com/cisagov/vdp-scanner-docker.git#develop
160160
```
161161

@@ -186,7 +186,7 @@ Docker:
186186
--file Dockerfile-x \
187187
--platform linux/amd64 \
188188
--output type=docker \
189-
--tag cisagov/vdp-scanner:0.0.5-rc.1 .
189+
--tag cisagov/vdp-scanner:0.0.5 .
190190
```
191191

192192
## Contributing ##

src/Pipfile

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,9 @@ name = "pypi"
55

66
[packages]
77
docopt = "*"
8-
hash-http-content = {file = "https://github.com/cisagov/hash-http-content/archive/v0.0.1.tar.gz"}
8+
hash-http-content = {file = "https://github.com/cisagov/hash-http-content/archive/v0.1.0.tar.gz"}
99
requests = "*"
1010
urllib3 = "*"
11-
pip = "*"
12-
setuptools = "*"
13-
wheel = "*"
14-
15-
[dev-packages]
1611

1712
[requires]
18-
python_version = "3.9.6"
13+
python_version = "3.10.5"

0 commit comments

Comments
 (0)