openshift-cs / docs-builder Goto Github PK
View Code? Open in Web Editor NEWMaintains the pipeline for building docs.openshift.com
Maintains the pipeline for building docs.openshift.com
Maybe we can publish another asciibinder image with small size?
Dockerfile
FROM ruby:3.1.2-alpine3.16 AS builder
RUN apk update && apk add --virtual build-dependencies build-base
RUN gem install ascii_binder
FROM ruby:3.1.2-alpine3.16
COPY --from=builder /usr/local/bundle /usr/local/bundle
CMD ["/user/local/bundle/bin/asciibinder"]
LABEL url="http://www.asciibinder.org" \
summary="a documentation system built on Asciidoctor" \
description="Run the asciibinder container image from the local docs repo, which is mounted into the container. Pass asciibinder commands to run the build. Generated files are owned by root." \
RUN="docker run -it --rm \
-v `pwd`:/docs:z \
IMAGE"
WORKDIR /docs
The resulting image is 147 MB compared to existing image 778 MB
REPOSITORY TAG IMAGE ID CREATED SIZE
quay.io/openshift-cs/asciibinder-alpine latest 96f27421fd30 2 minutes ago 147MB
quay.io/openshift-cs/asciibinder latest 78a32c4f59b9 3 months ago 778MB
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.