mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-14 11:05:41 +00:00
chore: improve ci security (#9384)
* pin docker files * pin github actions * enforce hashes that are already present * run style checks on cicd changes
This commit is contained in:
@ -3,7 +3,7 @@
|
||||
# In contrast with the "production" image (which is based on an Alpine image)
|
||||
# we use a Debian-based image for the devcontainer
|
||||
|
||||
FROM mcr.microsoft.com/devcontainers/python:3.11-bookworm
|
||||
FROM mcr.microsoft.com/devcontainers/python:3.11-bookworm@sha256:5140e54af7a0399a4932dd4c4653d085fcf451b093d7424867df1828ffbb9b81
|
||||
|
||||
# InvenTree paths
|
||||
ENV INVENTREE_HOME="/home/inventree"
|
||||
|
@ -27,7 +27,7 @@ python3 -m pip install --upgrade pip
|
||||
pip3 install --ignore-installed --upgrade invoke Pillow
|
||||
|
||||
# install base level packages
|
||||
pip3 install -Ur contrib/container/requirements.txt
|
||||
pip3 install -Ur --require-hashes contrib/container/requirements.txt
|
||||
|
||||
# Run initial InvenTree server setup
|
||||
invoke update -s
|
||||
|
Reference in New Issue
Block a user