File: Containerfile

package info (click to toggle)
conmon 2.1.13%2Bds1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 732 kB
  • sloc: ansic: 3,324; sh: 701; makefile: 120
file content (20 lines) | stat: -rw-r--r-- 486 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM registry.fedoraproject.org/fedora:latest

RUN sudo dnf install -y make automake gcc gcc-c++ kernel-devel glib2-devel && \
    sudo dnf clean all && \
    rm -rf /var/cache/dnf

RUN sudo dnf update -y && \
    sudo dnf clean all && \
    rm -rf /var/cache/dnf

# replaces the mktemp from the tutorial as everything is temporary in a
# container unless bind mounted out
RUN mkdir -p /tmp/gocache
ENV GOCACHE=/tmp/gocache

RUN mkdir -p /devenv
ADD . /devenv
WORKDIR /devenv

RUN make