Skip to content

Commit bd669d0

Browse files
author
Rudi Theunissen
committed
Add basic local development scripts
1 parent 6165afa commit bd669d0

File tree

5 files changed

+18
-0
lines changed

5 files changed

+18
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
*.
2+
*.dep
23
*.ac
34
*.gcda
45
*.gcno

Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
FROM php:8.3-alpine
2+
3+
RUN apk add --no-cache $PHPIZE_DEPS valgrind
4+
5+
COPY --from=composer:latest /usr/bin/composer /usr/local/bin/composer

dev.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/usr/bin/env bash
2+
3+
docker-compose run --rm --build --interactive --tty dev /bin/sh

docker-compose.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
services:
2+
dev:
3+
build:
4+
context: "."
5+
volumes:
6+
- ".:/ext-ds"
7+
- "./ext-ds.ini:/usr/local/etc/php/conf.d/ext-ds.ini"
8+
working_dir: "/ext-ds"

ext-ds.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
extension=ds.so

0 commit comments

Comments
 (0)