File: multistage.def

package info (click to toggle)
python-spython 0.3.13-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 736 kB
  • sloc: python: 3,299; sh: 61; makefile: 28
file content (21 lines) | stat: -rw-r--r-- 313 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Bootstrap: docker
From: golang:1.12.3-alpine3.9 
Stage: devel

%post
export PATH="/go/bin:/usr/local/go/bin:$PATH"
export HOME="/root"
cd /root
touch hello

Bootstrap: docker
From: alpine:3.9 
Stage: final

%files from devel
/root/hello /bin/hello
%runscript
exec /bin/bash "$@"
%startscript
exec /bin/bash "$@"