diff options
| author | Max Resnick <max@ofmax.li> | 2020-06-14 08:12:21 -0700 |
|---|---|---|
| committer | Max Resnick <max@ofmax.li> | 2020-06-14 08:12:21 -0700 |
| commit | 31beb64830048aeea7b68968796d71e73388f83c (patch) | |
| tree | 6b878884c1bbf2e20d0ec31e656b642d3a47562e | |
| parent | 699c1344fcc57ceab2e84c49311e17047b30c681 (diff) | |
| download | grumpy-containers-31beb64830048aeea7b68968796d71e73388f83c.tar.gz | |
add golang meta server sally
| -rw-r--r-- | src/base/Dockerfile | 2 | ||||
| -rw-r--r-- | src/sally/Dockerfile | 10 | ||||
| -rw-r--r-- | src/sally/VERSION | 1 | ||||
| -rw-r--r-- | src/sally/sally.yaml | 9 | ||||
| -rw-r--r-- | src/thelounge/Dockerfile | 14 | ||||
| -rw-r--r-- | src/thelounge/VERSION | 1 |
6 files changed, 36 insertions, 1 deletions
diff --git a/src/base/Dockerfile b/src/base/Dockerfile index 5a5b365..50a6ac8 100644 --- a/src/base/Dockerfile +++ b/src/base/Dockerfile @@ -17,7 +17,7 @@ WORKDIR /opt/app FROM buster-slim as buster-builder ENV DEBIAN_FRONTEND=noninteractive COPY bin/install_deb /usr/local/bin/install_deb -RUN install_deb curl +RUN install_deb curl ca-certificates xz-utils gpg WORKDIR /opt/app FROM debian:buster-slim as finale ENV DEBIAN_FRONTEND=noninteractive diff --git a/src/sally/Dockerfile b/src/sally/Dockerfile new file mode 100644 index 0000000..6767bde --- /dev/null +++ b/src/sally/Dockerfile @@ -0,0 +1,10 @@ +FROM golang:latest as build +RUN mkdir -p /opt/workspace \ + && git clone https://git.ofmax.li/sally /opt/workspace/sally \ + && cd /opt/workspace/sally \ + && git checkout grumps-master \ + && make grumps-build +FROM scratch +COPY --from=build /opt/workspace/sally/_tmp/sally /sally +COPY sally.yaml /sally.yaml +CMD ["/sally"] diff --git a/src/sally/VERSION b/src/sally/VERSION new file mode 100644 index 0000000..1474d00 --- /dev/null +++ b/src/sally/VERSION @@ -0,0 +1 @@ +v0.2.0 diff --git a/src/sally/sally.yaml b/src/sally/sally.yaml new file mode 100644 index 0000000..03b1aa8 --- /dev/null +++ b/src/sally/sally.yaml @@ -0,0 +1,9 @@ +url: go.ofmax.li + +packages: + environ: + repo: git.ofmax.li/environ + iserv: + repo: git.ofmax.li/iserv + tmpl: + repo: git.ofmax.li/tmpl 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 |