forked from microscaling/microscaling
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
35 lines (28 loc) · 1.05 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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"]