From 31beb64830048aeea7b68968796d71e73388f83c Mon Sep 17 00:00:00 2001 From: Max Resnick Date: Sun, 14 Jun 2020 08:12:21 -0700 Subject: add golang meta server sally --- src/thelounge/Dockerfile | 14 ++++++++++++++ src/thelounge/VERSION | 1 + 2 files changed, 15 insertions(+) create mode 100644 src/thelounge/Dockerfile create mode 100644 src/thelounge/VERSION (limited to 'src/thelounge') diff --git a/src/thelounge/Dockerfile b/src/thelounge/Dockerfile new file mode 100644 index 0000000..3cfdc02 --- /dev/null +++ b/src/thelounge/Dockerfile @@ -0,0 +1,14 @@ +ARG NODE_VERSION=v12.16.2 +FROM registry.gitlab.com/grumps/grumpy-containers/base:v0.0.3-buster-builder as builder +ARG NODE_VERSION +RUN mkdir -p /opt/build/nodejs \ + && curl "https://nodejs.org/dist/${NODE_VERSION}/node-${NODE_VERSION}-linux-x64.tar.xz" -o "/opt/build/node-${NODE_VERSION}-linux-x64.tar.xz" \ + && tar -xJvf "/opt/build/node-${NODE_VERSION}-linux-x64.tar.xz" -C /opt/build/nodejs --strip-components=1 +RUN mkdir -p /opt/build/yarn \ + && curl -Lo /opt/build/yarn/latest.tar.gz https://yarnpkg.com/latest.tar.gz \ + && tar zvxf /opt/build/yarn/latest.tar.gz -C /opt/build/yarn --strip-components=1 + +FROM registry.gitlab.com/grumps/grumpy-containers/base:v0.0.3 +COPY --from=builder /opt/build/nodejs /opt/lib/nodejs +COPY --from=builder /opt/build/yarn /opt/lib/yarn +ENV PATH "$PATH:/opt/lib/yarn/bin:/opt/lib/nodejs/bin" diff --git a/src/thelounge/VERSION b/src/thelounge/VERSION new file mode 100644 index 0000000..dee399e --- /dev/null +++ b/src/thelounge/VERSION @@ -0,0 +1 @@ +v0.0.1-rc.1 -- cgit v1.2.3