-
Notifications
You must be signed in to change notification settings - Fork 4
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
Showing
9 changed files
with
47 additions
and
11 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,4 +28,3 @@ ENV PATH=${PATH}:/opt/bin | |
|
||
VOLUME /code | ||
WORKDIR /code | ||
|
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 mirage-build AS build | ||
|
||
RUN cmake . && \ | ||
make && \ | ||
make build-dependencies && \ | ||
make build-perl && \ | ||
make build-shell | ||
|
||
FROM debian:bullseye-slim | ||
|
||
COPY --from=build build /code | ||
ENV PATH=$PATH:/code |
File renamed without changes.
File renamed without changes.
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,8 @@ | ||
#!/usr/bin/env sh | ||
|
||
set -e | ||
|
||
docker build -f Dockerfile_build \ | ||
-t traviswheelerlab/mirage-build:latest \ | ||
$@ \ | ||
. |
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 @@ | ||
#!/usr/bin/env sh | ||
|
||
set -e | ||
|
||
# TODO: Update this to read the actual version once we have one | ||
MIRAGE_VERSION=2.0.0-alpha | ||
|
||
docker build -f Dockerfile_run \ | ||
-t traviswheelerlab/mirage:${MIRAGE_VERSION} \ | ||
-t traviswheelerlab/mirage:latest \ | ||
$@ \ | ||
. |
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,5 @@ | ||
#!/usr/bin/env sh | ||
|
||
set -e | ||
|
||
docker push traviswheelerlab/mirage-build:latest |
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,9 @@ | ||
#!/usr/bin/env sh | ||
|
||
set -e | ||
|
||
# TODO: Update this to read the actual version once we have one | ||
MIRAGE_VERSION=2.0.0-alpha | ||
|
||
docker push traviswheelerlab/mirage:${MIRAGE_VERSION} | ||
docker push traviswheelerlab/mirage:latest |