Permalink
Browse files

Merge pull request #119 from ecliptik/issue287

Use Alpine as base Docker image
  • Loading branch information...
kmova committed Oct 18, 2017
2 parents 5eb71d9 + 2974188 commit d87fedd71e03f0acfa4cdf324ab151251ad66c59
Showing with 8 additions and 5 deletions.
  1. +5 −4 buildscripts/apiserver/Dockerfile
  2. +3 −1 buildscripts/mayactl/Dockerfile
@@ -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

0 comments on commit d87fedd

Please sign in to comment.