Compare commits
No commits in common. "fd95af3266909c8dd13d0b7d49f8069d81902d7a" and "cf9abbd7bfa6ed28fa9a9242bc4cbb80364696ca" have entirely different histories.
fd95af3266
...
cf9abbd7bf
2 changed files with 0 additions and 29 deletions
|
@ -3,7 +3,6 @@ ARG ALPINE_VERSION=3.13.6
|
||||||
FROM ${BASE_IMAGE}:${ALPINE_VERSION}
|
FROM ${BASE_IMAGE}:${ALPINE_VERSION}
|
||||||
MAINTAINER "f <f@sutty.nl>"
|
MAINTAINER "f <f@sutty.nl>"
|
||||||
|
|
||||||
ENV PLATFORM=x86_64-linux-musl
|
|
||||||
ENV GEM=none
|
ENV GEM=none
|
||||||
ENV VERSION=0
|
ENV VERSION=0
|
||||||
ENV SUTTY=sutty.nl
|
ENV SUTTY=sutty.nl
|
||||||
|
@ -19,7 +18,6 @@ RUN gem install --no-user-install --no-document --source https://rubygems.org ge
|
||||||
|
|
||||||
COPY ./gem-compiler.sh /usr/local/bin/gem-compiler
|
COPY ./gem-compiler.sh /usr/local/bin/gem-compiler
|
||||||
COPY ./bootstrap.sh /usr/local/bin/bootstrap
|
COPY ./bootstrap.sh /usr/local/bin/bootstrap
|
||||||
COPY ./bulk-compiler.sh /usr/local/bin/bulk-compiler
|
|
||||||
|
|
||||||
RUN install -dm 2750 -o builder -g builder /srv/gems
|
RUN install -dm 2750 -o builder -g builder /srv/gems
|
||||||
VOLUME /srv/gems
|
VOLUME /srv/gems
|
||||||
|
|
|
@ -1,27 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
set -e
|
|
||||||
|
|
||||||
test -n "${HTTP_BASIC_USER}"
|
|
||||||
test -n "${HTTP_BASIC_PASSWORD}"
|
|
||||||
test -n "${SUTTY}"
|
|
||||||
test -n "${PLATFORM}"
|
|
||||||
|
|
||||||
find build/ -type f |
|
|
||||||
sed -re "s|^build/([^/]+)/(.*)|&\tbuilt/${ALPINE_VERSION}/\1/\2\t\1\t\2|" |
|
|
||||||
while read BUILD BUILT GEM_NAME GEM_VERSION; do
|
|
||||||
test -f "${BUILT}" && continue
|
|
||||||
|
|
||||||
source "${BUILD}"
|
|
||||||
|
|
||||||
HTTP_BASIC_USER="${HTTP_BASIC_USER}" \
|
|
||||||
HTTP_BASIC_PASSWORD="${HTTP_BASIC_PASSWORD}" \
|
|
||||||
SUTTY="${SUTTY}" \
|
|
||||||
PLATFORM="${PLATFORM}" \
|
|
||||||
GEM_NAME="${GEM_NAME}" \
|
|
||||||
GEM_VERSION="${GEM_VERSION}" \
|
|
||||||
EXTRA_PKGS="${EXTRA_PKGS}" \
|
|
||||||
/usr/local/bin/bootstrap
|
|
||||||
|
|
||||||
dirname "${BUILT}" | xargs mkdir -p
|
|
||||||
touch "${BUILT}"
|
|
||||||
done
|
|
Loading…
Reference in a new issue