Skip to content

Commit 567e2b9

Browse files
committed
docker debian?
1 parent ecc9ab6 commit 567e2b9

3 files changed

Lines changed: 32 additions & 4 deletions

File tree

Dockerfile.debian

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
FROM debian:11
2+
3+
ARG RPM_ARCH=x86_64
4+
5+
RUN apt-get update && \
6+
apt-get install -y ruby build-essential jq curl gzip sudo git gnupg tar zstd python3 python3-requests && \
7+
apt-get upgrade -y && \
8+
gem install --no-document fpm
9+
10+
RUN curl -o cmake.tar.gz -fsSL "https://github.com/Kitware/CMake/releases/download/v3.31.4/cmake-3.31.4-linux-$(uname -m).tar.gz" && \
11+
tar -xzf cmake.tar.gz -C /usr/local --strip-components=1 && \
12+
rm cmake.tar.gz
13+
14+
RUN curl -L "https://files.henderkes.com/${RPM_ARCH}-linux/php" -o /usr/local/bin/php && \
15+
chmod +x /usr/local/bin/php && \
16+
curl -sS https://raw.githubusercontent.com/composer/getcomposer.org/f3108f64b4e1c1ce6eb462b159956461592b3e3e/web/installer | php -- --quiet && \
17+
mv composer.phar /usr/local/bin/composer
18+
19+
WORKDIR /build

compose-debian.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
services:
2+
build:
3+
build:
4+
context: .
5+
dockerfile: Dockerfile.debian
6+
working_dir: /build
7+
volumes:
8+
- .:/build
9+
entrypoint: ["bash", "-c"]

composer.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)