Giter Site home page Giter Site logo

Comments (3)

fnerdman avatar fnerdman commented on August 30, 2024 1

@lonerapier For the next step you could split the dockerfile in such way that gramine is built only one time on Machine A, then you copy the resulting image to Machine B, and there you use the copied image as Source image to complete the rest of the execution of the Dockerfile, i.e. build Gramine another time and diffoscope the result.

from geth-sgx-gramine.

lonerapier avatar lonerapier commented on August 30, 2024

Updates:

1.1 Replicability

  • Create a containerized build environment for gramine based on the official debian docker image
  • Build gramine within this image and export all the runtime dependencies (meson install --no-rebuild --destdir/ ...)
  • create two consecutive builds from scratch and compare the destdirs with diffoscope
  • try this on different hardware

We have successfully built gramine twice and compared destdirs on same machine.

The experiment was done in two parts:

  1. Same distro (ubuntu:20.04)
  2. Different distro (ubuntu:20.04, ubuntu:22.04)

It included running a bash script that builds a docker image containing different builds for gramine and checking it with diffoscope container.

File result can be found here.

Note: --exclude-directory-metadata flag is used to ignore timestamp diffs.

Next steps are to build gramine on different machines.

from geth-sgx-gramine.

fnerdman avatar fnerdman commented on August 30, 2024

Next tasks:

from geth-sgx-gramine.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.