fix: cleanup the nix packages

`curl` and `openssl` have to be specified with `.out`

Signed-off-by: Harald Hoyer <harald@matterlabs.dev>
This commit is contained in:
Harald Hoyer 2024-03-07 16:02:44 +01:00
parent 5d2f58d9a2
commit 9680e32e82
Signed by: harald
GPG key ID: F519A1143B3FBE32
10 changed files with 18 additions and 36 deletions

View file

@ -1,14 +1,12 @@
# SPDX-License-Identifier: Apache-2.0
# Copyright (c) 2024 Matter Labs
{ pkgs
, vat
, nixsgx
, curl
, teepot
, bash
, coreutils
, openssl
, vault
}:
let manifest = ./tee-vault-admin.manifest.toml;
in pkgs.dockerTools.buildLayeredImage {
@ -20,13 +18,12 @@ in pkgs.dockerTools.buildLayeredImage {
contents = pkgs.buildEnv {
name = "image-root";
paths = with pkgs.dockerTools; with nixsgx; with teepot;[
paths = with pkgs.dockerTools; with nixsgx;[
bash
coreutils
openssl
vault
openssl.out
azure-dcap-client
curl
curl.out
teepot.teepot.tee_vault_admin
gramine
restart-aesmd