ci: docker_tag=ext - Remove SSH dependency, use HTTPS for public repos
This commit is contained in:
parent
cba30de720
commit
dc6bb1da30
@ -5,13 +5,10 @@ WORKDIR /leCoffre-front
|
|||||||
COPY package.json ./
|
COPY package.json ./
|
||||||
COPY package-lock.json ./
|
COPY package-lock.json ./
|
||||||
|
|
||||||
RUN apk update && apk add --no-cache openssh-client git
|
RUN apk update && apk add --no-cache git
|
||||||
|
|
||||||
# Forward SSH agent via BuildKit (clé jamais écrite dans l'image)
|
# Installation des dépendances
|
||||||
RUN --mount=type=ssh \
|
RUN --mount=type=cache,target=/root/.npm \
|
||||||
--mount=type=cache,target=/root/.npm \
|
|
||||||
mkdir -p /root/.ssh && \
|
|
||||||
ssh-keyscan git.4nkweb.com >> /root/.ssh/known_hosts && \
|
|
||||||
npm install --no-audit --no-fund
|
npm install --no-audit --no-fund
|
||||||
|
|
||||||
# Configuration pour le développement
|
# Configuration pour le développement
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
"heroicons": "^2.1.5",
|
"heroicons": "^2.1.5",
|
||||||
"jszip": "^3.10.1",
|
"jszip": "^3.10.1",
|
||||||
"jwt-decode": "^3.1.2",
|
"jwt-decode": "^3.1.2",
|
||||||
"le-coffre-resources": "git+ssh://git@git.4nkweb.com/4nk/lecoffre-ressources.git#v2.167",
|
"le-coffre-resources": "git+https://git.4nkweb.com/4nk/lecoffre-ressources.git#v2.167",
|
||||||
"next": "^14.2.3",
|
"next": "^14.2.3",
|
||||||
"pdf-lib": "^1.17.1",
|
"pdf-lib": "^1.17.1",
|
||||||
"prettier": "^2.8.7",
|
"prettier": "^2.8.7",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user