File: docker

package info (click to toggle)
rust-scriptisto 2.2.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 436 kB
  • sloc: python: 25; ansic: 16; java: 11; pascal: 9; cpp: 8; javascript: 8; cs: 7; cobol: 5; lisp: 5; f90: 5; makefile: 4; ml: 4; haskell: 2
file content (20 lines) | stat: -rwxr-xr-x 486 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/env scriptisto

# scriptisto-begin
# script_src: internal.sh
# build_cmd: docker build -t docker-script . && chmod +x ./external.sh
# target_bin: ./external.sh
# files: 
#  - path: external.sh
#    content: |
#     #!/bin/bash
#     docker run -i --rm docker-script
#  - path: Dockerfile
#    content: |
#     FROM alpine
#     COPY internal.sh /internal.sh
#     CMD sh /internal.sh
# scriptisto-end

echo -n "Hello, Docker! Alpine Linux version: " 
cat /etc/alpine-release