Skip to content

Commit e18a147

Browse files
authored
remove unnecessary SSH setup for GitHub in Dockerfiles (#13489)
1 parent ecbbf71 commit e18a147

2 files changed

Lines changed: 0 additions & 6 deletions

File tree

docker/cloud/cloud-server.Dockerfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,6 @@ RUN git submodule foreach " \
4040
# Scripts for building
4141
COPY ./package.json ./package.json
4242

43-
# Add GitHub to known_hosts to support SSH-based package installs
44-
RUN mkdir -p ~/.ssh && ssh-keyscan github.com >> ~/.ssh/known_hosts
45-
4643
# Building ToolJet plugins
4744
COPY ./plugins/package.json ./plugins/package-lock.json ./plugins/
4845
RUN npm --prefix plugins install

docker/ee/ee-production.Dockerfile

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,6 @@ RUN git submodule foreach " \
3737
# Scripts for building
3838
COPY ./package.json ./package.json
3939

40-
# Add GitHub to known_hosts to support SSH-based package installs
41-
RUN mkdir -p ~/.ssh && ssh-keyscan github.com >> ~/.ssh/known_hosts
42-
4340
# Build plugins
4441
COPY ./plugins/package.json ./plugins/package-lock.json ./plugins/
4542
RUN npm --prefix plugins ci --omit=dev

0 commit comments

Comments
 (0)