mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-30 15:03:57 +00:00
Docker: Match GH runner
Experiment to see if this solves potential glibc issues.
This commit is contained in:
@@ -1,10 +1,21 @@
|
|||||||
FROM node:14-bullseye
|
FROM ubuntu:22.04
|
||||||
|
|
||||||
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 \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
gcc \
|
||||||
|
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_14.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_14.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