-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Erik Bernoth <[email protected]>
- Loading branch information
1 parent
fe1563c
commit 5a6b2ac
Showing
2 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters