yinuozhang commited on
Commit
f666a00
·
1 Parent(s): 8950131

update env setting

Browse files
Files changed (2) hide show
  1. envpack.def +25 -0
  2. tango_x86_64_release +0 -3
envpack.def ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Bootstrap: docker
2
+ From: ubuntu:22.04
3
+
4
+ %post
5
+ apt-get update && apt-get install -y --no-install-recommends \
6
+ bash ca-certificates bzip2 gzip tar \
7
+ libstdc++6 libgomp1 \
8
+ && rm -rf /var/lib/apt/lists/*
9
+ mkdir -p /opt/env
10
+
11
+ %files
12
+ pep.tar.gz /opt/env/pep.tar.gz
13
+
14
+ %post
15
+ cd /opt/env
16
+ tar -xzf pep.tar.gz
17
+ rm pep.tar.gz
18
+ # conda-pack fixups
19
+ /opt/env/bin/conda-unpack || true
20
+
21
+ %environment
22
+ export PATH=/opt/env/bin:$PATH
23
+
24
+ %runscript
25
+ exec "$@"
tango_x86_64_release DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:d0e381c28f847487069b0df29bb9d4f766391066710500d3170ecb73d9f31dbf
3
- size 211205