Skip to content

Commit

Permalink
fix: 🐛 add build-base as dependency to fix missing gcc
Browse files Browse the repository at this point in the history
  • Loading branch information
AnotherStranger committed Dec 2, 2023
1 parent c5b749e commit 021bbde
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ default_stages:
- commit
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.5.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-added-large-files
- repo: https://github.com/commitizen-tools/commitizen
rev: 3.6.0
rev: 3.12.0
hooks:
- id: commitizen
stages:
Expand All @@ -24,13 +24,13 @@ repos:
- -t
- warning
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.35.0
rev: v0.37.0
hooks:
- id: markdownlint-fix
args:
- "-i"
- "CHANGELOG.md"
- repo: https://github.com/shellcheck-py/shellcheck-py
rev: v0.9.0.5
rev: v0.9.0.6
hooks:
- id: shellcheck
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ ARG BASH_VERSION="5.2.15-r5"
ARG SHADOW_VERSION="4.13-r4"
ARG OPENSSL_VERSION="3.1.4-r1"
ARG PKG_CONF_VERSION="1.9.5-r0"
ARG GCC_VERSION="12.2.1_git20220924-r10"
ARG BUILD_BASE_VERSION="0.5-r3"
ARG MUSL_VERSION="1.2.4-r2"
ARG ACL_VERSION="2.3.1-r3"
ARG XXHASH_VERSION="0.8.2-r0"
Expand All @@ -26,19 +26,19 @@ FROM python:"${PYTHON_VERSION}"-alpine AS builder
ARG BORGBACKUP_VERSION
ARG PKG_CONF_VERSION
ARG OPENSSL_VERSION
ARG GCC_VERSION
ARG MUSL_VERSION
ARG ACL_VERSION
ARG XXHASH_VERSION
ARG ZSTD_VERSION
ARG LZ4_VERSION
ARG LINUX_HEADERS_VERSION
ARG BUILD_BASE_VERSION

RUN set -x && \
apk add --no-cache \
pkgconf="${PKG_CONF_VERSION}" \
openssl-dev="${OPENSSL_VERSION}" \
gcc="${GCC_VERSION}" \
build-base="${BUILD_BASE_VERSION}" \
musl-dev="${MUSL_VERSION}" \
acl-dev="${ACL_VERSION}" \
zstd-dev="${ZSTD_VERSION}" \
Expand Down

0 comments on commit 021bbde

Please sign in to comment.