File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -17,10 +17,14 @@ RUN apt-get update && \
1717 apt-get install -y --no-install-recommends \
1818 lsb-release ca-certificates curl wget gnupg2 software-properties-common \
1919 apt-transport-https locales patch diffutils \
20- unzip zip git jq patch ssh-client vim rsync && \
20+ unzip zip jq patch ssh-client vim rsync && \
2121 locale-gen en_US.UTF-8 && \
2222 update-locale LANG=en_US.UTF-8
2323
24+ RUN add-apt-repository ppa:git-core/ppa && \
25+ apt-get update && \
26+ apt-get -y install git
27+
2428
2529# PHP (Ondřej Surý PPA – gives every version 7.2-8.4) :contentReference[oaicite:0]{index=0}
2630RUN add-apt-repository -y ppa:ondrej/php
Original file line number Diff line number Diff line change 77docker build --progress plain --build-arg PHP_VERSION=8.2 -t perfcom/node-php-git:8.2-2.2 .
88
99# Run it
10- # docker run -d --name node-php-git perfcom/node-php-git:8.2-2.2
10+ # docker run -it perfcom/node-php-git:8.2-2.2 bash
You can’t perform that action at this time.
0 commit comments