Skip to content

Update Alpine to 3.7, openssl -> libressl, update packages #60

@lorddaedra

Description

@lorddaedra

Hello!

I have 3 suggestions how we can improve this image.

Here:
https://github.com/docker-library/haproxy/blob/master/1.8/alpine/Dockerfile#L1

replace
FROM alpine:3.6
with
FROM alpine:3.7

We can update packages before installing HAProxy. They will not break something because of they are from same release (3.6 or 3.7), usually it's just bugfixes to software.

Before
https://github.com/docker-library/haproxy/blob/master/1.8/alpine/Dockerfile#L14

add

    && apk upgrade --no-cache \

Also we can replace openssl to libressl
https://github.com/docker-library/haproxy/blob/master/1.8/alpine/Dockerfile#L20-L21

replace

		openssl \
		openssl-dev \

with

		libressl \
		libressl-dev \

Metadata

Metadata

Assignees

No one assigned

    Labels

    RequestRequest for image modification or feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions