# limitations under the License.
#######################################################################################
-FROM ubuntu:20.04 as INSTALL
+FROM ubuntu:22.04 as INSTALL
ARG APT_PROXY
RUN if [ ! -z $APT_PROXY ] ; then \
RUN DEBIAN_FRONTEND=noninteractive apt-get --yes update && \
DEBIAN_FRONTEND=noninteractive apt-get --yes install \
- apt-transport-https=2.0.* \
- curl=7.68.* \
+ apt-transport-https=2.4.* \
+ curl=7.81.* \
gnupg2=2.2.* \
nginx=1.18.* \
software-properties-common=0.99.* \
- xz-utils=5.2.*
+ xz-utils=5.2.* \
+ && rm -rf /var/lib/apt/lists/*
RUN curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - && \
- echo "deb https://deb.nodesource.com/node_14.x focal main" | tee -a /etc/apt/sources.list.d/nodesource.list && \
+ echo "deb https://deb.nodesource.com/node_14.x jammy main" | tee -a /etc/apt/sources.list.d/nodesource.list && \
DEBIAN_FRONTEND=noninteractive apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y nodejs
RUN npm run build
#######################################################################################
-FROM ubuntu:20.04 AS FINAL
+FROM ubuntu:22.04 AS FINAL
ARG APT_PROXY
RUN if [ ! -z $APT_PROXY ] ; then \