Skip to content

Commit 31a6241

Browse files
authored
Update Docker Python Image to 3.10.14 (#35) (#36)
* Update Docker Container Image to python:3.10.14-slim * Update Version to 1.2.5 * Adapt 3rd-Party License Notice
1 parent 928a530 commit 31a6241

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

.devcontainer/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ RUN pip3 install --upgrade pip && pip3 --disable-pip-version-check --no-cache-di
3434
# [Optional] Uncomment this line to install global node packages.
3535
# RUN su vscode -c "source /usr/local/share/nvm/nvm.sh && npm install -g <your-package-here>" 2>&1
3636

37-
RUN apt-get update && apt-get install -y ruby && gem install license_finder -v 7.1.0 && gembin=`(gem env | sed -n "s/.*EXECUTABLE DIRECTORY: \(.*\)/\1/p")` && export PATH=$gembin:$PATH
37+
RUN apt-get update && apt-get install -y ruby && gem install license_finder && gembin=`(gem env | sed -n "s/.*EXECUTABLE DIRECTORY: \(.*\)/\1/p")` && export PATH=$gembin:$PATH
3838

3939
RUN curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh -s -- -y
4040

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
pip install pytest pytest-cov
6060
su vscode -c "umask 0002 && . /usr/local/share/nvm/nvm.sh && nvm install lts/* 2>&1"
6161
apt-get update && apt-get install -y ruby
62-
gem install license_finder -v 7.1.0 && gembin=`(gem env | sed -n "s/.*EXECUTABLE DIRECTORY: \(.*\)/\1/p")`
62+
gem install license_finder && gembin=`(gem env | sed -n "s/.*EXECUTABLE DIRECTORY: \(.*\)/\1/p")`
6363
export PATH=$gembin:$PATH
6464
curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh -s -- -y
6565

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# SPDX-License-Identifier: Apache-2.0
1414

1515

16-
FROM python:3.10.3-slim
16+
FROM python:3.10.14-slim
1717

1818
ARG DEBIAN_FRONTEND=noninteractive
1919

@@ -23,7 +23,7 @@ COPY ./src/ /
2323
RUN apt update \
2424
&& apt install -y git \
2525
&& apt install -y ruby \
26-
&& gem install license_finder -v 7.1.0 \
26+
&& gem install license_finder \
2727
&& pip3 install -r /requirements.txt
2828

2929
# Install conan to handle c++ dependencies

NOTICE-3RD-PARTY-CONTENT.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,19 @@
33
## Python
44
| Dependency | Version | License |
55
|:-----------|:-------:|--------:|
6-
|certifi|2024.2.2|Mozilla Public License 2.0|
6+
|certifi|2024.6.2|Mozilla Public License 2.0|
77
|charset-normalizer|3.3.2|MIT|
88
|gitdb|4.0.11|BSD|
99
|GitPython|3.1.43|New BSD|
1010
|idna|3.7|BSD|
1111
|PyYAML|6.0.1|MIT|
12-
|requests|2.31.0|Apache 2.0|
12+
|requests|2.32.3|Apache 2.0|
1313
|smmap|5.0.1|BSD|
1414
|str2bool|1.1|BSD|
1515
|types-PyYAML|6.0.12.20240311|Apache 2.0|
16-
|types-requests|2.31.0.20240406|Apache 2.0|
17-
|types-setuptools|69.5.0.20240513|Apache 2.0|
18-
|urllib3|2.2.1|MIT|
16+
|types-requests|2.32.0.20240622|Apache 2.0|
17+
|types-setuptools|70.1.0.20240625|Apache 2.0|
18+
|urllib3|2.2.2|MIT|
1919
## Workflows
2020
| Dependency | Version | License |
2121
|:-----------|:-------:|--------:|

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
setuptools.setup(
2424
name="licensevalidator",
25-
version="1.2.4",
25+
version="1.2.5",
2626
description="A validator for dependency licenses",
2727
long_description=long_description,
2828
long_description_content_type="text/markdown",

0 commit comments

Comments
 (0)