-
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Break out Linux bootstrap into its own environment
We want to do bootstrap in a completely Pony free environment. Previously, it was being done in an environment that had Pony installed. It probably wouldn't ever be a problem, but this is a better test setup.
- Loading branch information
1 parent
a9849b3
commit a820564
Showing
6 changed files
with
71 additions
and
8 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,10 @@ | ||
FROM alpine:3.11 | ||
|
||
RUN apk update \ | ||
&& apk upgrade \ | ||
&& apk add --update \ | ||
build-base \ | ||
curl \ | ||
git \ | ||
libressl-dev \ | ||
make |
15 changes: 15 additions & 0 deletions
15
.ci-dockerfiles/alpine-bootstrap-tester/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,15 @@ | ||
#!/bin/bash | ||
|
||
set -o errexit | ||
set -o nounset | ||
|
||
# | ||
# *** You should already be logged in to DockerHub when you run this *** | ||
# | ||
|
||
TODAY=$(date +%Y%m%d) | ||
DOCKERFILE_DIR="$(dirname "$0")" | ||
|
||
docker build --pull -t "ponylang/ponyup-ci-alpine-bootstrap-tester:${TODAY}" \ | ||
"${DOCKERFILE_DIR}" | ||
docker push "ponylang/ponyup-ci-alpine-bootstrap-tester:${TODAY}" |
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,10 @@ | ||
FROM ubuntu:18.04 | ||
|
||
RUN apt-get update \ | ||
&& apt-get upgrade \ | ||
&& apt-get install -y \ | ||
gcc \ | ||
curl \ | ||
git \ | ||
libssl-dev \ | ||
make |
15 changes: 15 additions & 0 deletions
15
.ci-dockerfiles/ubuntu-bootstrap-tester/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,15 @@ | ||
#!/bin/bash | ||
|
||
set -o errexit | ||
set -o nounset | ||
|
||
# | ||
# *** You should already be logged in to DockerHub when you run this *** | ||
# | ||
|
||
TODAY=$(date +%Y%m%d) | ||
DOCKERFILE_DIR="$(dirname "$0")" | ||
|
||
docker build --pull -t "ponylang/ponyup-ci-ubuntu-bootstrap-tester:${TODAY}" \ | ||
"${DOCKERFILE_DIR}" | ||
docker push "ponylang/ponyup-ci-ubuntu-bootstrap-tester:${TODAY}" |
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