-
Notifications
You must be signed in to change notification settings - Fork 133
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 #193 from keystone-enclave/dev
Dev
- Loading branch information
Showing
61 changed files
with
369 additions
and
9,315 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
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
FROM ubuntu:18.04 | ||
ARG CHECKOUT=master | ||
RUN apt update | ||
|
||
RUN DEBIAN_FRONTEND="noninteractive" apt-get -y install tzdata | ||
|
||
RUN apt -y install autoconf automake autotools-dev bc \ | ||
bison build-essential curl expat libexpat1-dev flex gawk gcc git \ | ||
gperf libgmp-dev libmpc-dev libmpfr-dev libtool texinfo tmux \ | ||
patchutils zlib1g-dev wget bzip2 patch vim-common lbzip2 python \ | ||
pkg-config libglib2.0-dev libpixman-1-dev libssl-dev screen \ | ||
device-tree-compiler expect makeself unzip cpio rsync cmake | ||
|
||
RUN git clone https://github.com/keystone-enclave/keystone /keystone | ||
RUN cd /keystone && \ | ||
git checkout $CHECKOUT && \ | ||
rmdir linux qemu buildroot && \ | ||
./fast-setup.sh && \ | ||
. ./source.sh && \ | ||
rm -rf firesim-riscv-tools-prebuilt-* && \ | ||
rm -f 2.0.tar.gz && \ | ||
mkdir -p build && \ | ||
cd build && \ | ||
cmake .. && \ | ||
make -j$(nproc) | ||
|
||
ENTRYPOINT cd /keystone && . ./source.sh && cd /keystone/build && make run-tests |
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,17 @@ | ||
# Building Docker Image | ||
|
||
To build the image with master branch: | ||
```bash | ||
docker build -t keystoneenclaveorg/keystone:master | ||
``` | ||
|
||
dev branch: | ||
|
||
```bash | ||
docker build -t keystoneenclaveorg/keystone:dev --build-arg CHECKOUT=dev . | ||
``` | ||
|
||
any other branches or tags: | ||
```bash | ||
docker build -t keystoneenclaveorg/keystone:<tag> --build-arg CHECKOUT=<tag> . | ||
``` |
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 was deleted.
Oops, something went wrong.
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
Oops, something went wrong.