This commit is contained in:
parent
67f182d16d
commit
df3146e891
1 changed files with 54 additions and 51 deletions
105
Dockerfile
105
Dockerfile
|
@ -1,54 +1,57 @@
|
||||||
|
ARG CI_TZ
|
||||||
|
ARG CI_NODE_MAJOR
|
||||||
|
ARG CI_DEBIAN_VERSION
|
||||||
|
|
||||||
|
FROM debian:${CI_DEBIAN_VERSION}
|
||||||
|
|
||||||
LABEL maintainer="guillaume@van-hemmen.com"
|
LABEL maintainer="guillaume@van-hemmen.com"
|
||||||
|
|
||||||
# Changes these environment variable as needed
|
RUN echo "The value of CI_TZ is ${CI_TZ}"
|
||||||
ENV TZ=${CI_TZ}
|
RUN echo "The value of CI_NODE_MAJOR is ${CI_NODE_MAJOR}"
|
||||||
ENV NODE_MAJOR=${CI_NODE_MAJOR}
|
RUN echo "The value of CI_DEBIAN_VERSION is ${CI_DEBIAN_VERSION}"
|
||||||
ENV DEBIAN_VERSION=${CI_DEBIAN_VERSION}
|
|
||||||
|
|
||||||
FROM debian:${DEBIAN_VERSION}
|
#RUN ln -snf /usr/share/zoneinfo/$CI_TZ /etc/localtime && echo $CI_TZ > /etc/timezone && \
|
||||||
|
# apt-get update && apt-get install -y ca-certificates curl gnupg && \
|
||||||
RUN ln -snf /usr/share/zoneinfo/${TZ} /etc/localtime && echo ${TZ} > /etc/timezone && \
|
# mkdir -p /etc/apt/keyrings && \
|
||||||
apt-get update && apt-get install -y ca-certificates curl gnupg && \
|
# curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg && \
|
||||||
mkdir -p /etc/apt/keyrings && \
|
# echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_${CI_NODE_MAJOR}.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list && \
|
||||||
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg && \
|
# apt-get update && apt-get install -y nodejs sudo && \
|
||||||
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_${NODE_MAJOR}.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list && \
|
# apt-get install -y \
|
||||||
apt-get update && apt-get install -y nodejs sudo && \
|
# ca-certificates \
|
||||||
apt-get install -y \
|
# fonts-liberation \
|
||||||
ca-certificates \
|
# libappindicator3-1 \
|
||||||
fonts-liberation \
|
# libasound2 \
|
||||||
libappindicator3-1 \
|
# libatk-bridge2.0-0 \
|
||||||
libasound2 \
|
# libatk1.0-0 \
|
||||||
libatk-bridge2.0-0 \
|
# libc6 \
|
||||||
libatk1.0-0 \
|
# libcairo2 \
|
||||||
libc6 \
|
# libcups2 \
|
||||||
libcairo2 \
|
# libdbus-1-3 \
|
||||||
libcups2 \
|
# libexpat1 \
|
||||||
libdbus-1-3 \
|
# libfontconfig1 \
|
||||||
libexpat1 \
|
# libgbm1 \
|
||||||
libfontconfig1 \
|
# libgcc1 \
|
||||||
libgbm1 \
|
# libglib2.0-0 \
|
||||||
libgcc1 \
|
# libgtk-3-0 \
|
||||||
libglib2.0-0 \
|
# libnspr4 \
|
||||||
libgtk-3-0 \
|
# libnss3 \
|
||||||
libnspr4 \
|
# libpango-1.0-0 \
|
||||||
libnss3 \
|
# libpangocairo-1.0-0 \
|
||||||
libpango-1.0-0 \
|
# libstdc++6 \
|
||||||
libpangocairo-1.0-0 \
|
# libx11-6 \
|
||||||
libstdc++6 \
|
# libx11-xcb1 \
|
||||||
libx11-6 \
|
# libxcb1 \
|
||||||
libx11-xcb1 \
|
# libxcomposite1 \
|
||||||
libxcb1 \
|
# libxcursor1 \
|
||||||
libxcomposite1 \
|
# libxdamage1 \
|
||||||
libxcursor1 \
|
# libxext6 \
|
||||||
libxdamage1 \
|
# libxfixes3 \
|
||||||
libxext6 \
|
# libxi6 \
|
||||||
libxfixes3 \
|
# libxrandr2 \
|
||||||
libxi6 \
|
# libxrender1 \
|
||||||
libxrandr2 \
|
# libxss1 \
|
||||||
libxrender1 \
|
# libxtst6 \
|
||||||
libxss1 \
|
# lsb-release \
|
||||||
libxtst6 \
|
# wget
|
||||||
lsb-release \
|
#
|
||||||
wget \
|
#RUN curl -sL firebase.tools | bash
|
||||||
|
|
||||||
RUN curl -sL firebase.tools | bash
|
|
||||||
|
|
Loading…
Reference in a new issue