-
-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: rename image name * chore: add git v2.25.0 * chore: enhance Dockerfile
- Loading branch information
Showing
5 changed files
with
36 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,2 @@ | ||
.* | ||
|
||
!.eslintrc.json | ||
!.prettierrc.json | ||
|
||
coverage | ||
node_modules | ||
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
ARG NODE_VERSION | ||
|
||
FROM node:${NODE_VERSION}-buster-slim | ||
|
||
SHELL ["/bin/bash", "-l", "-c"] | ||
|
||
RUN apt-get update && \ | ||
apt-get install -y --no-install-recommends \ | ||
build-essential \ | ||
libcurl4-gnutls-dev libexpat1-dev gettext libz-dev libssl-dev autoconf \ | ||
ca-certificates \ | ||
wget && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
WORKDIR /git | ||
ENV GIT_VERSION="2.25.0" | ||
RUN wget -q "https://github.com/git/git/archive/v${GIT_VERSION}.tar.gz" && \ | ||
tar -zxf "./v${GIT_VERSION}.tar.gz" && \ | ||
rm "./v${GIT_VERSION}.tar.gz" && \ | ||
cd "./git-${GIT_VERSION}" && \ | ||
make configure && \ | ||
./configure --prefix=/usr && \ | ||
make all && \ | ||
make install | ||
|
||
WORKDIR /repo | ||
|
||
CMD [ "bash" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.