Merge pull request #457 feature-NEWDWH2021-1796 into develop-v5.1.0
This commit is contained in:
commit
2be5c5b229
@ -1,6 +1,10 @@
|
|||||||
FROM python:3.9
|
FROM python:3.12-slim-bookworm
|
||||||
|
|
||||||
ENV TZ="Asia/Tokyo"
|
ENV TZ="Asia/Tokyo"
|
||||||
|
# pythonの標準出力をバッファリングしないフラグ
|
||||||
|
ENV PYTHONUNBUFFERED=1
|
||||||
|
# pythonのバイトコードを生成しないフラグ
|
||||||
|
ENV PYTHONDONTWRITEBYTECODE=1
|
||||||
|
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
COPY Pipfile Pipfile.lock ./
|
COPY Pipfile Pipfile.lock ./
|
||||||
@ -12,6 +16,7 @@ RUN apt update && apt install -y less vim curl wget gzip unzip sudo lsb-release
|
|||||||
# mysqlをインストール
|
# mysqlをインストール
|
||||||
RUN \
|
RUN \
|
||||||
wget https://dev.mysql.com/get/mysql-apt-config_0.8.29-1_all.deb && \
|
wget https://dev.mysql.com/get/mysql-apt-config_0.8.29-1_all.deb && \
|
||||||
|
apt install -y gnupg && \
|
||||||
dpkg -i mysql-apt-config_0.8.29-1_all.deb < mysql_dpkg_selection.txt && \
|
dpkg -i mysql-apt-config_0.8.29-1_all.deb < mysql_dpkg_selection.txt && \
|
||||||
apt update && \
|
apt update && \
|
||||||
apt install -y mysql-client
|
apt install -y mysql-client
|
||||||
@ -29,11 +34,6 @@ RUN \
|
|||||||
pipenv install --system --deploy && \
|
pipenv install --system --deploy && \
|
||||||
pip uninstall -y pipenv virtualenv-clone virtualenv
|
pip uninstall -y pipenv virtualenv-clone virtualenv
|
||||||
|
|
||||||
# パッケージのセキュリティアップデートのみを適用するコマンドを実行
|
|
||||||
RUN \
|
|
||||||
apt install -y unattended-upgrades && \
|
|
||||||
unattended-upgrades
|
|
||||||
|
|
||||||
COPY src ./src
|
COPY src ./src
|
||||||
COPY entrypoint.py entrypoint.py
|
COPY entrypoint.py entrypoint.py
|
||||||
|
|
||||||
|
|||||||
@ -10,7 +10,7 @@ autopep8 = "*"
|
|||||||
flake8 = "*"
|
flake8 = "*"
|
||||||
|
|
||||||
[requires]
|
[requires]
|
||||||
python_version = "3.9"
|
python_version = "3.12"
|
||||||
|
|
||||||
[pipenv]
|
[pipenv]
|
||||||
allow_prereleases = true
|
allow_prereleases = true
|
||||||
|
|||||||
26
ecs/export-dbdump/Pipfile.lock
generated
26
ecs/export-dbdump/Pipfile.lock
generated
@ -1,11 +1,11 @@
|
|||||||
{
|
{
|
||||||
"_meta": {
|
"_meta": {
|
||||||
"hash": {
|
"hash": {
|
||||||
"sha256": "cc5f54bfb2073051a26f113ceac64e12fdd0bf8faa36f1a42210cc9c921c134b"
|
"sha256": "2f7808325e11704ced6ad10c85e1d583663a03d7ccabaa9696ab1fe133a6b30c"
|
||||||
},
|
},
|
||||||
"pipfile-spec": 6,
|
"pipfile-spec": 6,
|
||||||
"requires": {
|
"requires": {
|
||||||
"python_version": "3.9"
|
"python_version": "3.12"
|
||||||
},
|
},
|
||||||
"sources": [
|
"sources": [
|
||||||
{
|
{
|
||||||
@ -19,21 +19,21 @@
|
|||||||
"develop": {
|
"develop": {
|
||||||
"autopep8": {
|
"autopep8": {
|
||||||
"hashes": [
|
"hashes": [
|
||||||
"sha256:8d6c87eba648fdcfc83e29b788910b8643171c395d9c4bcf115ece035b9c9dda",
|
"sha256:89440a4f969197b69a995e4ce0661b031f455a9f776d2c5ba3dbd83466931758",
|
||||||
"sha256:a203fe0fcad7939987422140ab17a930f684763bf7335bdb6709991dd7ef6c2d"
|
"sha256:ce8ad498672c845a0c3de2629c15b635ec2b05ef8177a6e7c91c74f3e9b51128"
|
||||||
],
|
],
|
||||||
"index": "pypi",
|
"index": "pypi",
|
||||||
"markers": "python_version >= '3.8'",
|
"markers": "python_version >= '3.9'",
|
||||||
"version": "==2.3.1"
|
"version": "==2.3.2"
|
||||||
},
|
},
|
||||||
"flake8": {
|
"flake8": {
|
||||||
"hashes": [
|
"hashes": [
|
||||||
"sha256:049d058491e228e03e67b390f311bbf88fce2dbaa8fa673e7aea87b7198b8d38",
|
"sha256:1cbc62e65536f65e6d754dfe6f1bada7f5cf392d6f5db3c2b85892466c3e7c1a",
|
||||||
"sha256:597477df7860daa5aa0fdd84bf5208a043ab96b8e96ab708770ae0364dd03213"
|
"sha256:c586ffd0b41540951ae41af572e6790dbd49fc12b3aa2541685d253d9bd504bd"
|
||||||
],
|
],
|
||||||
"index": "pypi",
|
"index": "pypi",
|
||||||
"markers": "python_full_version >= '3.8.1'",
|
"markers": "python_full_version >= '3.8.1'",
|
||||||
"version": "==7.1.1"
|
"version": "==7.1.2"
|
||||||
},
|
},
|
||||||
"mccabe": {
|
"mccabe": {
|
||||||
"hashes": [
|
"hashes": [
|
||||||
@ -58,14 +58,6 @@
|
|||||||
],
|
],
|
||||||
"markers": "python_version >= '3.8'",
|
"markers": "python_version >= '3.8'",
|
||||||
"version": "==3.2.0"
|
"version": "==3.2.0"
|
||||||
},
|
|
||||||
"tomli": {
|
|
||||||
"hashes": [
|
|
||||||
"sha256:2ebe24485c53d303f690b0ec092806a085f07af5a5aa1464f3931eec36caaa38",
|
|
||||||
"sha256:d46d457a85337051c36524bc5349dd91b1877838e2979ac5ced3e710ed8a60ed"
|
|
||||||
],
|
|
||||||
"markers": "python_version < '3.11'",
|
|
||||||
"version": "==2.0.2"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user