File: Dockerfile

package info (click to toggle)
podman-compose 1.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 1,996 kB
  • sloc: python: 10,946; sh: 107; javascript: 48; makefile: 13
file content (16 lines) | stat: -rw-r--r-- 388 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Base image
FROM alpine:latest

# Install OpenSSH client
RUN apk add openssh

# Test the SSH agents during the build

RUN echo -n "default: " >> /result.log 
RUN --mount=type=ssh ssh-add -L >> /result.log

RUN echo -n "id1: " >> /result.log 
RUN --mount=type=ssh,id=id1 ssh-add -L >> /result.log

RUN echo -n "id2: " >> /result.log 
RUN --mount=type=ssh,id=id2 ssh-add -L >> /result.log