feat(sap-data-decrypt): Dockerイメージビルド時にセキュリティパッチアップデートを実行するように修正
This commit is contained in:
parent
09776d0edd
commit
3567630bc7
@ -4,7 +4,12 @@ ENV TZ="Asia/Tokyo"
|
||||
|
||||
WORKDIR /function
|
||||
COPY requirements.txt ./
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
RUN \
|
||||
apt update -y && \
|
||||
# パッケージのセキュリティアップデートのみを適用するコマンド
|
||||
apt install -y unattended-upgrades && \
|
||||
unattended-upgrades && \
|
||||
pip install --no-cache-dir -r requirements.txt
|
||||
COPY datadecrypt ./
|
||||
|
||||
ENTRYPOINT [ "/usr/local/bin/python", "-m", "awslambdaric" ]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user