ci: docker_tag=ext - Fix Dockerfile to use HTTPS and ext branch
This commit is contained in:
parent
b312e3a093
commit
9159d20792
12
Dockerfile
12
Dockerfile
@ -2,16 +2,12 @@
|
||||
FROM node:19-alpine AS builder
|
||||
WORKDIR /app
|
||||
|
||||
# Outils nécessaires pour cloner le dépôt privé
|
||||
RUN apk add --no-cache git openssh-client
|
||||
|
||||
# Prépare SSH pour git.4nkweb.com
|
||||
RUN mkdir -p /root/.ssh && \
|
||||
ssh-keyscan git.4nkweb.com >> /root/.ssh/known_hosts
|
||||
# Outils nécessaires pour cloner le dépôt
|
||||
RUN apk add --no-cache git
|
||||
|
||||
# Clone le SDK à côté de /app afin que ../sdk-signer-client soit disponible
|
||||
RUN --mount=type=ssh git clone -b dev4 \
|
||||
ssh://git@git.4nkweb.com/4nk/sdk-signer-client.git /sdk-signer-client
|
||||
RUN git clone -b ext \
|
||||
https://git.4nkweb.com/4nk/sdk-signer-client.git /sdk-signer-client
|
||||
|
||||
# Build de la dépendance SDK
|
||||
WORKDIR /sdk-signer-client
|
||||
|
Loading…
x
Reference in New Issue
Block a user