Update Dockerfile to Alpine 3.6 and libressl

This commit is contained in:
Fred Park 2017-06-01 14:55:47 -07:00
Родитель 0dca02ce83
Коммит a327445e45
1 изменённых файлов: 3 добавлений и 4 удалений

Просмотреть файл

@ -1,12 +1,11 @@
# Dockerfile for Azure/blobxfer # Dockerfile for Azure/blobxfer
FROM gliderlabs/alpine:3.4 FROM alpine:3.6
MAINTAINER Fred Park <https://github.com/Azure/blobxfer> MAINTAINER Fred Park <https://github.com/Azure/blobxfer>
RUN apk add --update --no-cache musl build-base python3 python3-dev openssl-dev libffi-dev ca-certificates \ RUN apk add --update --no-cache musl build-base python3 python3-dev libressl-dev libffi-dev ca-certificates \
&& pip3 install --no-cache-dir --upgrade pip \
&& pip3 install --no-cache-dir --upgrade blobxfer \ && pip3 install --no-cache-dir --upgrade blobxfer \
&& apk del --purge build-base python3-dev openssl-dev libffi-dev \ && apk del --purge build-base python3-dev libressl-dev libffi-dev \
&& rm /var/cache/apk/* && rm /var/cache/apk/*
ENTRYPOINT ["blobxfer"] ENTRYPOINT ["blobxfer"]