mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-25 09:45:59 +00:00
try to fix docker build
This commit is contained in:
@@ -1,21 +1,10 @@
|
|||||||
FROM ubuntu:22.04
|
FROM node:22
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y \
|
RUN apt-get update && apt-get install -y \
|
||||||
curl \
|
|
||||||
gnupg \
|
|
||||||
iputils-ping \
|
iputils-ping \
|
||||||
iproute2 \
|
iproute2 \
|
||||||
unixodbc \
|
unixodbc \
|
||||||
gcc \
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
g++ \
|
|
||||||
make
|
|
||||||
|
|
||||||
RUN curl -fsSL https://deb.nodesource.com/gpgkey/nodesource.gpg.key | gpg --dearmor -o /usr/share/keyrings/nodesource-archive-keyring.gpg \
|
|
||||||
&& echo "deb [signed-by=/usr/share/keyrings/nodesource-archive-keyring.gpg] https://deb.nodesource.com/node_18.x jammy main" | tee /etc/apt/sources.list.d/nodesource.list \
|
|
||||||
&& echo "deb-src [signed-by=/usr/share/keyrings/nodesource-archive-keyring.gpg] https://deb.nodesource.com/node_18.x jammy main" | tee -a /etc/apt/sources.list.d/nodesource.list \
|
|
||||||
&& apt-get update && apt-get install -y nodejs \
|
|
||||||
&& rm -rf /var/lib/apt/lists/* \
|
|
||||||
&& npm install -g yarn
|
|
||||||
|
|
||||||
WORKDIR /home/dbgate-docker
|
WORKDIR /home/dbgate-docker
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user