Skip to content

Commit aeadc12

Browse files
committed
Use newer git version
1 parent 763648a commit aeadc12

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff 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}
2630
RUN add-apt-repository -y ppa:ondrej/php

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ set -e
77
docker 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

0 commit comments

Comments
 (0)