Skip to content

Commit 4396c7a

Browse files
authored
Merge pull request #94 from cisagov/bugfix/fix_for_domain_csv_changes
Update image configuration and fix CSV processing
2 parents 82b35bb + 2d4183e commit 4396c7a

File tree

6 files changed

+231
-240
lines changed

6 files changed

+231
-240
lines changed

Dockerfile

+10-10
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,21 @@ ENV CISA_HOME="/home/${CISA_USER}"
1414
ENV VIRTUAL_ENV="${CISA_HOME}/.venv"
1515

1616
# Versions of the Python packages installed directly
17-
ENV PYTHON_PIP_VERSION=23.1.2
18-
ENV PYTHON_PIPENV_VERSION=2023.10.20
19-
ENV PYTHON_SETUPTOOLS_VERSION=67.7.2
20-
ENV PYTHON_WHEEL_VERSION=0.40.0
17+
ENV PYTHON_PIP_VERSION=24.0
18+
ENV PYTHON_PIPENV_VERSION=2023.12.1
19+
ENV PYTHON_SETUPTOOLS_VERSION=69.2.0
20+
ENV PYTHON_WHEEL_VERSION=0.43.0
2121

2222
RUN apk --no-cache add \
2323
gcc=12.2.1_git20220924-r10 \
2424
libc-dev=0.7.2-r5 \
25-
libxml2-dev=2.11.6-r0 \
25+
libxml2-dev=2.11.7-r00 \
2626
libxslt-dev=1.1.38-r0 \
2727
py3-pip=23.1.2-r0 \
2828
py3-setuptools=67.7.2-r0 \
2929
py3-wheel=0.40.0-r1 \
30-
python3-dev=3.11.6-r0 \
31-
python3=3.11.6-r0
30+
python3-dev=3.11.8-r0 \
31+
python3=3.11.8-r0
3232

3333
# Install pipenv to manage installing the Python dependencies into a created
3434
# Python virtual environment. This is done separately from the virtual
@@ -52,7 +52,7 @@ RUN pipenv sync --clear --verbose
5252

5353
# The version of Python used here should match the version of the Alpine
5454
# python3 package installed in the compile-stage.
55-
FROM python:3.11.6-alpine3.18 AS build-stage
55+
FROM python:3.11.8-alpine3.18 AS build-stage
5656

5757
###
5858
# For a list of pre-defined annotation keys and value types see:
@@ -72,9 +72,9 @@ ENV CISA_HOME="/home/${CISA_USER}"
7272
ENV VIRTUAL_ENV="${CISA_HOME}/.venv"
7373

7474
RUN apk --no-cache add \
75-
ca-certificates=20230506-r0 \
75+
ca-certificates=20240226-r0 \
7676
chromium=119.0.6045.159-r0 \
77-
libxml2=2.11.6-r0 \
77+
libxml2=2.11.7-r00 \
7878
libxslt=1.1.38-r0
7979

8080
# Create unprivileged user

README.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Python library. Then it will output CSVs with agency and domain level results.
2323
To run the `cisagov/vdp-scanner` image via Docker:
2424

2525
```console
26-
docker run cisagov/vdp-scanner:0.2.0-dev.3
26+
docker run cisagov/vdp-scanner:0.2.0-dev.4
2727
```
2828

2929
### Running with Docker Compose ###
@@ -36,7 +36,7 @@ docker run cisagov/vdp-scanner:0.2.0-dev.3
3636

3737
services:
3838
vdp-scanner:
39-
image: 'cisagov/vdp-scanner:0.2.0-dev.3'
39+
image: 'cisagov/vdp-scanner:0.2.0-dev.4'
4040
volumes:
4141
- .:/task/host_mount
4242
```
@@ -74,7 +74,7 @@ docker run cisagov/vdp-scanner:0.2.0-dev.3
7474
1. Pull the new image:
7575

7676
```console
77-
docker pull cisagov/vdp-scanner:0.2.0-dev.3
77+
docker pull cisagov/vdp-scanner:0.2.0-dev.4
7878
```
7979

8080
1. Recreate and run the container by following the [previous instructions](#running-with-docker).
@@ -83,11 +83,11 @@ docker run cisagov/vdp-scanner:0.2.0-dev.3
8383

8484
The images of this container are tagged with
8585
[semantic versions](https://semver.org). It is recommended that most users use
86-
a version tag (e.g. `:0.2.0-dev.3`).
86+
a version tag (e.g. `:0.2.0-dev.4`).
8787

8888
| Image:tag | Description |
8989
|-----------|-------------|
90-
|`cisagov/vdp-scanner:0.2.0-dev.3`| An exact release version. |
90+
|`cisagov/vdp-scanner:0.2.0-dev.4`| An exact release version. |
9191
|`cisagov/vdp-scanner:0.2`| The most recent release matching the major and minor version numbers. |
9292
|`cisagov/vdp-scanner:0`| The most recent release matching the major version number. |
9393
|`cisagov/vdp-scanner:edge` | The most recent image built from a merge into the `develop` branch of this repository. |
@@ -153,7 +153,7 @@ Build the image locally using this git repository as the [build context](https:/
153153

154154
```console
155155
docker build \
156-
--tag cisagov/vdp-scanner:0.2.0-dev.3 \
156+
--tag cisagov/vdp-scanner:0.2.0-dev.4 \
157157
https://github.com/cisagov/vdp-scanner-docker.git#develop
158158
```
159159

@@ -184,7 +184,7 @@ Docker:
184184
--file Dockerfile-x \
185185
--platform linux/amd64 \
186186
--output type=docker \
187-
--tag cisagov/vdp-scanner:0.2.0-dev.3 .
187+
--tag cisagov/vdp-scanner:0.2.0-dev.4 .
188188
```
189189

190190
## Contributing ##

src/Pipfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ requests = "*"
1010
urllib3 = "*"
1111

1212
[requires]
13-
python_full_version = "3.10.10"
13+
python_full_version = "3.11.8"

0 commit comments

Comments
 (0)