File: Containerfile

package info (click to toggle)
golang-github-containers-toolbox 0.0.99.3%2Bgit20230118%2B446d7bfdef6a-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,244 kB
  • sloc: sh: 2,611; python: 36; makefile: 34
file content (25 lines) | stat: -rw-r--r-- 705 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
FROM registry.fedoraproject.org/fedora:35

ENV NAME=fedora-toolbox VERSION=35
LABEL com.github.containers.toolbox="true" \
      com.redhat.component="$NAME" \
      name="$NAME" \
      version="$VERSION" \
      usage="This image is meant to be used with the toolbox command" \
      summary="Base image for creating Fedora toolbox containers" \
      maintainer="Debarshi Ray <rishi@fedoraproject.org>"

COPY README.md /

RUN sed -i '/tsflags=nodocs/d' /etc/dnf/dnf.conf
RUN dnf -y swap coreutils-single coreutils-full

COPY missing-docs /
RUN dnf -y reinstall $(<missing-docs)
RUN rm /missing-docs

COPY extra-packages /
RUN dnf -y install $(<extra-packages)
RUN rm /extra-packages

RUN dnf clean all