File: single-stage-unit-test.def

package info (click to toggle)
singularity-container 4.0.3%2Bds1-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 21,672 kB
  • sloc: asm: 3,857; sh: 2,125; ansic: 1,677; awk: 414; makefile: 110; python: 99
file content (24 lines) | stat: -rw-r--r-- 357 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Bootstrap: docker
From: alpine:{{ OS_VER }}
Stage: build

%arguments
    OS_VER=3.17
    DEMO=a demo
    AUTHOR=jason

%post
    apk add --no-cache wget

%environment
    export OS_VER={{ OS_VER }}

%runscript
    echo "Container was created $NOW"
    wget --help

%labels
    Author {{ AUTHOR }}

%help
    This is {{ DEMO }} for templating definition file