mirror of
https://github.com/hwdsl2/docker-ipsec-vpn-server.git
synced 2026-04-26 01:55:53 +03:00
[GH-ISSUE #239] Use Alpine Linux build docker image #219
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @peterwillcn on GitHub (Jun 1, 2021).
Original GitHub issue: https://github.com/hwdsl2/docker-ipsec-vpn-server/issues/239
Use Alpine Linux build docker image, It can reduce the size of the image.
@hwdsl2 commented on GitHub (Jun 1, 2021):
@peterwillcn Hello! Thank you for your suggestion. Currently, this project uses the Debian Buster "slim" base image, and the built image has a compressed size of ~65MB on Docker Hub. The build process was optimized to keep the image size small.
Switching to using the Alpine Linux base image could further reduce image size as you mentioned. However, unfortunately I think Alpine Linux does not currently provide all the necessary packages required to build the latest Libreswan version (4.4 as of today) from source. As an alternative, Libreswan can be installed from the Alpine Linux repositories, but using that approach may require a major rewrite of this project, which I don't currently have time for.