* Don't run CodeQL in PR draft * Speed up analysis workflows * Run install deps on Debian * Add badge to readme * Fixed copy and use workdir * Use mount instead of copy * Fixed unwanted && and changed workdir * Split deps and deps-full * Fixed context * Use /app dir * Use copy instead * Revert to --mount and use .py (not .sh) * Test * Add `./scripts/install_deps.py` to all platforms * Add missing syntax * Fixed Python dep for OpenSUSE * Temp remove WORKDIR for OpenSUSE * Re-add workdir * Increase timeout * Delete `zypper --non-interactive remove busybox-which` * Restore python3 * Test * Rename to `lint-source-code` * Beef up analysis runners * Fixed workflow runs-on * Use deps script * Try pipx for gcovr * Use containers with deps * Add -y arg * Install curl * Merge deps step * Add unzip dep * Make Git dir safe * Add .local/bin to env * Improve step name * Use `pipx ensurepath` * Install gcovr with apt * Use Ubuntu 22 with pip * Update ChangeLog * Use 16-core for Windows * Use choco cache * Test * Use 8-core for Windows (picked up quicker, more available?)
18 lines
304 B
Docker
18 lines
304 B
Docker
# syntax=docker/dockerfile:1
|
|
|
|
ARG BASE_IMAGE
|
|
FROM $BASE_IMAGE AS base
|
|
|
|
FROM base AS deps
|
|
|
|
RUN zypper refresh && \
|
|
zypper update -y && \
|
|
zypper install -y git python3 && \
|
|
zypper clean --all
|
|
|
|
WORKDIR /app
|
|
|
|
RUN --mount=type=bind,target=/app,rw \
|
|
./scripts/install_deps.py && \
|
|
zypper clean --all
|