|
@ -17,6 +17,7 @@ ENV KAL_SHLIB_ARRAY_VERSION="0.2.0" \ |
|
|
KAL_SHLIB_CONFIG_VERSION="0.0.2" \ |
|
|
KAL_SHLIB_CONFIG_VERSION="0.0.2" \ |
|
|
KAL_SHLIB_CORE_VERSION="0.7.0" \ |
|
|
KAL_SHLIB_CORE_VERSION="0.7.0" \ |
|
|
KAL_SHLIB_FIREWALL_VERSION="0.2.0" \ |
|
|
KAL_SHLIB_FIREWALL_VERSION="0.2.0" \ |
|
|
|
|
|
KAL_SHLIB_DOCKER_VERSION="0.0.1" \ |
|
|
KAL_SHLIB_OTHER_VERSION="0.2.2" \ |
|
|
KAL_SHLIB_OTHER_VERSION="0.2.2" \ |
|
|
KAL_SHLIB_PRETTY_VERSION="0.4.3" |
|
|
KAL_SHLIB_PRETTY_VERSION="0.4.3" |
|
|
|
|
|
|
|
@ -41,7 +42,7 @@ RUN mkdir -p /tmp/docker \ |
|
|
RUN apk --update add binutils && \ |
|
|
RUN apk --update add binutils && \ |
|
|
mkdir /tmp/kal-shlibs && cd /tmp/kal-shlibs && \ |
|
|
mkdir /tmp/kal-shlibs && cd /tmp/kal-shlibs && \ |
|
|
export pkg && \ |
|
|
export pkg && \ |
|
|
for pkg in core common array cache charm cmdline config firewall other pretty; do \ |
|
|
|
|
|
|
|
|
for pkg in core common array cache charm cmdline config firewall other pretty docker; do \ |
|
|
echo "Installing kal-shlib-$pkg" ; \ |
|
|
echo "Installing kal-shlib-$pkg" ; \ |
|
|
bash -c -- 'eval curl -L http://deb.kalysto.org/pool/no-dist/kal-alpha/kal-shlib-${pkg}_\${KAL_SHLIB_${pkg^^}_VERSION}-1_all.deb' > pkg.deb || exit 1 ; \ |
|
|
bash -c -- 'eval curl -L http://deb.kalysto.org/pool/no-dist/kal-alpha/kal-shlib-${pkg}_\${KAL_SHLIB_${pkg^^}_VERSION}-1_all.deb' > pkg.deb || exit 1 ; \ |
|
|
ar x pkg.deb || exit 1; \ |
|
|
ar x pkg.deb || exit 1; \ |
|
@ -65,6 +66,10 @@ RUN curl -L https://git.0k.io/0k-charm.git/plain/bin/charm > /usr/local/bin/char |
|
|
RUN curl -L https://git.0k.io/git-sub.git/plain/bin/git-sub > /usr/local/bin/git-sub && \ |
|
|
RUN curl -L https://git.0k.io/git-sub.git/plain/bin/git-sub > /usr/local/bin/git-sub && \ |
|
|
chmod +x /usr/local/bin/git-sub |
|
|
chmod +x /usr/local/bin/git-sub |
|
|
|
|
|
|
|
|
|
|
|
RUN curl -L https://git.0k.io/0k-docker.git/plain/src/bin/dupd > /usr/local/bin/dupd && \ |
|
|
|
|
|
chmod +x /usr/local/bin/dupd |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
RUN curl http://docker.0k.io/get/ca.0k.io.pem > /usr/local/share/ca-certificates/ca.0k.io.pem |
|
|
RUN curl http://docker.0k.io/get/ca.0k.io.pem > /usr/local/share/ca-certificates/ca.0k.io.pem |
|
|
|
|
|
|
|
|
##force install pyyaml with libyaml |
|
|
##force install pyyaml with libyaml |
|
@ -79,6 +84,7 @@ RUN cd /tmp && \ |
|
|
FROM common |
|
|
FROM common |
|
|
|
|
|
|
|
|
COPY --from=builder /etc/shlib /etc/shlib |
|
|
COPY --from=builder /etc/shlib /etc/shlib |
|
|
|
|
|
COPY --from=builder /usr/bin/bash-shlib /usr/bin/bash-shlib |
|
|
COPY --from=builder /usr/lib/shlib /usr/lib/shlib |
|
|
COPY --from=builder /usr/lib/shlib /usr/lib/shlib |
|
|
COPY --from=builder /usr/local /usr/local |
|
|
COPY --from=builder /usr/local /usr/local |
|
|
|
|
|
|
|
|