ARO-RP/Dockerfile.autorest

23 строки
505 B
Docker
Исходник Обычный вид История

ARG REGISTRY
FROM ${REGISTRY}/ubi8/nodejs-18
2021-08-13 19:47:17 +03:00
LABEL MAINTAINER="aos-azure"
ARG AUTOREST_VERSION
USER 0
# Autorest prerequisites
RUN dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm && \
dnf update -y && \
dnf install -y libunwind-devel libicu && \
dnf install -y python3-pip && \
dnf clean all --enablerepo=\*
# Autorest
RUN npm install -g autorest@${AUTOREST_VERSION} && \
2022-08-31 05:18:07 +03:00
autorest --reset && \
2021-08-13 19:47:17 +03:00
npm cache clean -f
ENTRYPOINT ["autorest"]