File: difficult.df

package info (click to toggle)
charliecloud 0.43-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 3,116 kB
  • sloc: python: 6,021; sh: 4,284; ansic: 3,863; makefile: 598
file content (33 lines) | stat: -rw-r--r-- 685 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
21
22
23
24
25
26
27
28
29
30
31
32
33
FROM alpine:3.17

WORKDIR /test

# Directory and file with full permissions.
RUN mkdir dir_all && chmod 4777 dir_all
RUN touch dir_all/file_all && chmod 4777 dir_all/file_all

# Directory and file with minimal permissions.
RUN mkdir dir_min && chmod 700 dir_min
RUN touch dir_min/file_min && chmod 400 dir_min/file_min

# FIFO
RUN mkfifo fifo_

# Empty directories
RUN mkdir dir_empty
RUN mkdir -p dir_empty_empty/dir_empty

# Hard link
RUN touch hard_target
RUN ln hard_target hard_src

# Symlink
RUN touch soft_target
RUN ln -s soft_target soft_src

# Git repository
RUN apk add git
RUN git init gitrepo

# Well-known last instruction so we can check if it’s cached.
RUN echo last