Skip to content
This repository was archived by the owner on Jan 2, 2025. It is now read-only.

Commit 4dd92bd

Browse files
committed
Docker build is weirdly different than local
1 parent a77d200 commit 4dd92bd

File tree

3 files changed

+2
-10
lines changed

3 files changed

+2
-10
lines changed

.gitpod.Dockerfile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ COPY --chown=gitpod:gitpod . "${onetime_cache_dir}"
88
# Cache nix compilation for saving time
99
WORKDIR "${onetime_cache_dir}"
1010
SHELL [ "/bin/bash", "-c" ]
11-
RUN git lfs install --skip-smudge \
12-
&& git lfs pull \
13-
&& git lfs install --force \
14-
&& source "$HOME/.nix-profile/etc/profile.d/nix.sh" \
11+
RUN source "$HOME/.nix-profile/etc/profile.d/nix.sh" \
1512
&& nix run nixpkgs#cachix use bloopai \
1613
&& nix develop

flake.nix

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,7 @@
132132
}).overrideAttrs (old: envVars);
133133

134134
onnxruntime14 = import ./nix/onnxruntime.nix {
135-
inherit pkgs;
136-
inherit stdenv;
135+
inherit pkgs stdenv;
137136
};
138137

139138
frontend = (pkgs.buildNpmPackage rec {

nix/onnxruntime.nix

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,10 +83,6 @@ stdenv.mkDerivation rec {
8383

8484
checkInputs = [ ];
8585

86-
# TODO: build server, and move .so's to lib output
87-
# Python's wheel is stored in a separate dist output
88-
outputs = [ "out" "dev" ];
89-
9086
enableParallelBuilding = true;
9187

9288
cmakeDir = "../cmake";

0 commit comments

Comments
 (0)