Skip to content

Commit

Permalink
feat: Debian version for Dev Containers
Browse files Browse the repository at this point in the history
  • Loading branch information
leocavalcante committed Mar 15, 2024
1 parent 20270c5 commit 2b4e62d
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ ENV WITHOUT_WATCHR=$WITHOUT_WATCHR

COPY rootfs /
RUN apk add --update --no-cache \
bash \
git \
docker-cli \
php${PHP}-cli \
Expand Down
19 changes: 19 additions & 0 deletions debian.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
FROM debian

ARG PHP
ENV PHP_VERSION=$PHP

ARG WITH_EXAKAT
ENV WITH_EXAKAT=$WITH_EXAKAT

ARG WITHOUT_WATCHR
ENV WITHOUT_WATCHR=$WITHOUT_WATCHR

COPY rootfs /

RUN apt update && apt install -y \
wget php-cli \
&& /usr/local/bin/install-tools

ENTRYPOINT [ "/usr/bin/php" ]
CMD [ "-v" ]
2 changes: 1 addition & 1 deletion rootfs/usr/local/bin/install-tools
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env ash
#!/usr/bin/env sh

box() {
local version="4.6.1"
Expand Down

0 comments on commit 2b4e62d

Please sign in to comment.