Install git in Docker image (#12767)
This commit is contained in:
Родитель
6ba1813668
Коммит
09fa7c8619
|
@ -143,6 +143,14 @@ jobs:
|
|||
- *save_build_cache
|
||||
- run: yarn build-ci
|
||||
|
||||
build-docker-image:
|
||||
<<: *defaults-release
|
||||
steps:
|
||||
- checkout
|
||||
- run:
|
||||
name: Build the docker image
|
||||
command: docker build --pull .
|
||||
|
||||
build-blog-utils:
|
||||
<<: *defaults
|
||||
steps:
|
||||
|
@ -356,6 +364,12 @@ workflows:
|
|||
default-workflow:
|
||||
jobs:
|
||||
- build
|
||||
- build-docker-image:
|
||||
filters:
|
||||
branches:
|
||||
ignore: master
|
||||
tags:
|
||||
ignore: /.*/
|
||||
- test
|
||||
- build-next
|
||||
- test-next
|
||||
|
|
|
@ -6,6 +6,7 @@ FROM node:18.19-slim AS builder
|
|||
WORKDIR /srv/node
|
||||
COPY package.json yarn.lock /srv/node/
|
||||
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates git && rm -rf /var/lib/apt/lists/
|
||||
RUN yarn install --pure-lockfile
|
||||
|
||||
#
|
||||
|
|
Загрузка…
Ссылка в новой задаче