-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #47 from threadproc/amzn2-docker-build
Add Amazon Linux 2 Docker build thanks for the contrib @threadproc merged it.
- Loading branch information
Showing
4 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
FROM amazonlinux:2 | ||
|
||
RUN yum install -y pcre-devel make gcc openssl-devel rpm-build systemd-devel curl sed zlib-devel | ||
RUN mkdir RPMS | ||
RUN chmod -R 777 RPMS | ||
RUN mkdir SPECS | ||
RUN mkdir SOURCES | ||
COPY Makefile Makefile | ||
COPY SPECS/haproxy.spec SPECS/haproxy.spec | ||
COPY SOURCES/* SOURCES/ | ||
|
||
CMD make NO_SUDO=1 && cp /rpmbuild/RPMS/x86_64/* /RPMS && cp /rpmbuild/SRPMS/* /RPMS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -231,6 +231,9 @@ fi | |
%endif | ||
|
||
%changelog | ||
* Thu Feb 10 2022 Kai Parry <[email protected]> | ||
- Add Docker support for Amazon Linux 2 | ||
|
||
* Sat May 30 2021 David Bezemer <[email protected]> | ||
- Add support for HAProxy 2.4.x | ||
|
||
|