summaryrefslogtreecommitdiff
path: root/packpub/npm/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'packpub/npm/Dockerfile')
-rw-r--r--packpub/npm/Dockerfile20
1 files changed, 20 insertions, 0 deletions
diff --git a/packpub/npm/Dockerfile b/packpub/npm/Dockerfile
new file mode 100644
index 0000000..48abf1b
--- /dev/null
+++ b/packpub/npm/Dockerfile
@@ -0,0 +1,20 @@
+FROM debian:stable-slim AS ci_packpub_npm
+
+RUN apt-get update \
+ && apt-get -y --no-install-recommends install \
+ sudo curl git ca-certificates build-essential \
+ && rm -rf /var/lib/apt/lists/*
+
+SHELL ["/bin/bash", "-o", "pipefail", "-c"]
+ENV MISE_DATA_DIR="/mise"
+ENV MISE_CONFIG_DIR="/mise"
+ENV MISE_CACHE_DIR="/mise/cache"
+ENV MISE_INSTALL_PATH="/usr/local/bin/mise"
+ENV PATH="/mise/shims:$PATH"
+# ENV MISE_VERSION="..."
+
+RUN curl https://mise.run | sh
+
+COPY publish.sh /publish.sh
+
+ENTRYPOINT [ "/bin/bash", "publish.sh" ]