@@ -15,6 +15,10 @@ just using next bash pattern:
15
15
``` bash
16
16
# WFEXS_VER can be either a branch, a tag or a commit hash
17
17
WFEXS_VER=8a0a980f1a5e69064d16f89f8ec31973b2eb0c8b
18
+
19
+ # Alternatively, you can use local copy
20
+ WFEXS_VER=$( git rev-parse HEAD)
21
+
18
22
docker build -t inab/wfexs-backend:${WFEXS_VER} \
19
23
--build-arg wfexs_checkout=" ${WFEXS_VER} " \
20
24
https://raw.githubusercontent.com/inab/WfExS-backend/${WFEXS_VER} /container_recipes/Dockerfile
@@ -26,6 +30,10 @@ a local copy of the recipe, and next command line from the project root will hel
26
30
``` bash
27
31
# WFEXS_VER can be either a branch, a tag or a commit hash
28
32
WFEXS_VER=8a0a980f1a5e69064d16f89f8ec31973b2eb0c8b
33
+
34
+ # Alternatively, you can use local copy
35
+ WFEXS_VER=$( git rev-parse HEAD)
36
+
29
37
mkdir WfExS_docker_build
30
38
cd WfExS_docker_build
31
39
curl -O https://raw.githubusercontent.com/inab/WfExS-backend/${WFEXS_VER} /container_recipes/Dockerfile
@@ -47,8 +55,13 @@ just using next bash pattern:
47
55
``` bash
48
56
# WFEXS_VER can be either a branch, a tag or a commit hash
49
57
WFEXS_VER=8a0a980f1a5e69064d16f89f8ec31973b2eb0c8b
58
+
59
+ # Alternatively, you can use local copy
60
+ WFEXS_VER=$( git rev-parse HEAD)
61
+
50
62
podman build -t inab/wfexs-backend:${WFEXS_VER} \
51
63
--build-arg wfexs_checkout=" ${WFEXS_VER} " \
64
+ --target podman_build \
52
65
https://raw.githubusercontent.com/inab/WfExS-backend/${WFEXS_VER} /container_recipes/Dockerfile
53
66
```
54
67
@@ -58,12 +71,17 @@ a local copy of the recipe, and next command line from the project root will hel
58
71
``` bash
59
72
# WFEXS_VER can be either a branch, a tag or a commit hash
60
73
WFEXS_VER=8a0a980f1a5e69064d16f89f8ec31973b2eb0c8b
74
+
75
+ # Alternatively, you can use local copy
76
+ WFEXS_VER=$( git rev-parse HEAD)
77
+
61
78
mkdir WfExS_podman_build
62
79
cd WfExS_podman_build
63
80
curl -O https://raw.githubusercontent.com/inab/WfExS-backend/${WFEXS_VER} /container_recipes/Dockerfile
64
81
65
82
podman build -t inab/wfexs-backend:${WFEXS_VER} \
66
83
--build-arg wfexs_checkout=" ${WFEXS_VER} " \
84
+ --target podman_build \
67
85
Dockerfile
68
86
```
69
87
@@ -89,6 +107,10 @@ The precondition is having either Apptainer or Singularity properly setup. There
89
107
``` bash
90
108
# WFEXS_VER can be either a branch, a tag or a commit hash
91
109
WFEXS_VER=8a0a980f1a5e69064d16f89f8ec31973b2eb0c8b
110
+
111
+ # Alternatively, you can use local copy
112
+ WFEXS_VER=$( git rev-parse HEAD)
113
+
92
114
singularity build \
93
115
--build-arg wfexs_checkout=" ${WFEXS_VER} " \
94
116
wfexs-backend-${WFEXS_VER} .sif container_recipes/Singularity.def
0 commit comments