-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0c75863
commit 7e07d85
Showing
5 changed files
with
110 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
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
16 changes: 16 additions & 0 deletions
16
x86-64-unknown-linux-builder-with-openssl_1.1.1w/Dockerfile
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,16 @@ | ||
ARG FROM_TAG=release | ||
FROM ghcr.io/ponylang/shared-docker-ci-x86-64-unknown-linux-builder:${FROM_TAG} | ||
|
||
RUN apk add --update --no-cache \ | ||
clang-dev \ | ||
linux-headers \ | ||
perl | ||
|
||
RUN cd /tmp && \ | ||
wget https://github.com/openssl/openssl/archive/OpenSSL_1_1_1w.tar.gz && \ | ||
tar xf OpenSSL_1_1_1w.tar.gz && \ | ||
cd openssl-OpenSSL_1_1_1w && \ | ||
./Configure --api=1.1.0 no-shared linux-x86_64 enable-rc5 enable-md2 && \ | ||
make install_sw && \ | ||
cd /tmp && \ | ||
rm -rf openssl-OpenSSL_1_1_1w |
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,3 @@ | ||
# x86-64-unknown-linux-builder-with-openssl_1.1.1w | ||
|
||
The x86-64-unknown-linux-builder with OpenSSL 1.1.1w implementation installed as well. Rebuilt daily. |
47 changes: 47 additions & 0 deletions
47
x86-64-unknown-linux-builder-with-openssl_1.1.1w/build-and-push.bash
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,47 @@ | ||
#!/bin/bash | ||
|
||
set -o errexit | ||
set -o nounset | ||
|
||
# | ||
# *** You should already be logged in to DockerHub | ||
# and GitHub Container Registry when you run this *** | ||
# | ||
|
||
DOCKERFILE_DIR="$(dirname "$0")" | ||
|
||
## DockerHub | ||
|
||
NAME="ponylang/shared-docker-ci-x86-64-unknown-linux-builder-with-openssl_1.1.1w" | ||
|
||
# built from x86-64-unknown-linux-builder release tag | ||
FROM_TAG=release | ||
TAG_AS=release | ||
docker build --pull --build-arg FROM_TAG="${FROM_TAG}" \ | ||
-t "${NAME}:${TAG_AS}" "${DOCKERFILE_DIR}" | ||
docker push "${NAME}:${TAG_AS}" | ||
|
||
# built from x86-64-unknown-linux-builder latest tag | ||
FROM_TAG=latest | ||
TAG_AS=latest | ||
docker build --pull --build-arg FROM_TAG="${FROM_TAG}" \ | ||
-t "${NAME}:${TAG_AS}" "${DOCKERFILE_DIR}" | ||
docker push "${NAME}:${TAG_AS}" | ||
|
||
## GitHub Container Registry | ||
|
||
NAME="ghcr.io/ponylang/shared-docker-ci-x86-64-unknown-linux-builder-with-openssl_1.1.1w" | ||
|
||
# built from x86-64-unknown-linux-builder release tag | ||
FROM_TAG=release | ||
TAG_AS=release | ||
docker build --pull --build-arg FROM_TAG="${FROM_TAG}" \ | ||
-t "${NAME}:${TAG_AS}" "${DOCKERFILE_DIR}" | ||
docker push "${NAME}:${TAG_AS}" | ||
|
||
# built from x86-64-unknown-linux-builder latest tag | ||
FROM_TAG=latest | ||
TAG_AS=latest | ||
docker build --pull --build-arg FROM_TAG="${FROM_TAG}" \ | ||
-t "${NAME}:${TAG_AS}" "${DOCKERFILE_DIR}" | ||
docker push "${NAME}:${TAG_AS}" |