Skip to content

Commit

Permalink
Merge branch 'refs/heads/main' into feat/gitlab-17-spec
Browse files Browse the repository at this point in the history
  • Loading branch information
mschuett committed Jun 8, 2024
2 parents 356fb23 + 16a670f commit df2a2f2
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 3 deletions.
15 changes: 15 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "monthly"
- package-ecosystem: "docker"
directory: "/"
schedule:
interval: "monthly"
10 changes: 7 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
FROM python:3.9-slim-buster
FROM python:3.12-slim

WORKDIR /app

RUN apt-get update && apt-get install -y shellcheck \
&& rm -rf /var/lib/apt/lists/*

# prevent 9Mb of cached bytecode files (.pyc)
ENV PYTHONDONTWRITEBYTECODE=1

COPY requirements.txt requirements.txt
RUN pip3 install -r requirements.txt
RUN pip3 install --no-compile --no-cache-dir -r requirements.txt

COPY . .
COPY yaml_shellcheck.py .

USER 1000
ENTRYPOINT [ "python3", "yaml_shellcheck.py"]

0 comments on commit df2a2f2

Please sign in to comment.