Permalink
Fetching contributors…
Cannot retrieve contributors at this time
36 lines (28 sloc) 1.05 KB
FROM alpine:3.7
MAINTAINER Ross Fairbanks "ross@microscaling.com"
ENV BUILD_PACKAGES ca-certificates
RUN apk update && \
apk upgrade && \
apk add $BUILD_PACKAGES && \
rm -rf /var/cache/apk/*
# Add binary and Dockerfile
COPY microscaling Dockerfile /
RUN chmod +x /microscaling
# Metadata params
ARG BUILD_DATE
ARG VERSION
ARG VCS_URL
ARG VCS_REF
# Metadata
LABEL org.label-schema.build-date=$BUILD_DATE \
org.label-schema.name="Microscaling Engine" \
org.label-schema.description="Our Microscaling Engine provides automation, resilience and efficiency for microservice architectures. Experiment with microscaling at app.microscaling.com." \
org.label-schema.url="https://microscaling.com" \
org.label-schema.vcs-url=$VCS_URL \
org.label-schema.vcs-ref=$VCS_REF \
org.label-schema.vendor="Microscaling Systems" \
org.label-schema.version=$VERSION \
org.label-schema.schema-version="1.0" \
com.microscaling.docker.dockerfile="/Dockerfile" \
com.microscaling.license="Apache-2.0"
CMD ["/microscaling"]