New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Alpine as base Docker image #119

Merged
merged 2 commits into from Oct 18, 2017
Jump to file or symbol
Failed to load files and symbols.
+8 −5
Diff settings

Always

Just for now

@@ -3,17 +3,18 @@
# maya api server's releases.
#
FROM ubuntu:16.04
FROM alpine:3.6
# TODO: The following env variables should be auto detected.
ENV MAYA_API_SERVER_NETWORK="eth0"
RUN apt-get update && apt-get install -y \
RUN apk add --no-cache \
iproute2 \
curl \
net-tools \
watch \
&& rm -rf /var/lib/apt/lists/*
mii-tool \
procps \
libc6-compat
RUN mkdir -p /etc/apiserver/orchprovider
RUN mkdir -p /etc/apiserver/specs
@@ -2,7 +2,9 @@
# This Dockerfile builds a recent maya container with latest code
#
FROM ubuntu:16.04
FROM alpine:3.6
RUN apk --no-cache add libc6-compat
COPY maya /usr/local/bin
ProTip! Use n and p to navigate between commits in a pull request.