Fix Dockerfile

Noah 2021-03-31 21:22:39 -07:00
parent d8397d102f
commit 5358e3e907
1 changed files with 3 additions and 2 deletions

View File

@ -10,6 +10,7 @@
FROM fedora:latest
MAINTAINER Noah Petherbridge <root@kirsle.net>
ENV GOPATH /go
ENV GOPROXY direct
ENV PATH /bin:/sbin:/usr/bin:/usr/sbin:/go/bin
# Fedora: Update all software and get dependencies.
@ -38,8 +39,8 @@ RUN git clone https://git.kirsle.net/go/audio /git/go/audio
# Enter Doodle's directory.
WORKDIR /go/src/git.kirsle.net/apps/doodle
RUN echo "replace git.kirsle.net/go/ui => /git/go/ui" >> go.mod && \
echo "replace git.kirsle.net/go/render => /git/go/render" && \
echo "replace git.kirsle.net/go/audio => /git/go/audio" && \
echo "replace git.kirsle.net/go/render => /git/go/render" >> go.mod && \
echo "replace git.kirsle.net/go/audio => /git/go/audio" >> go.mod && \
cat go.mod
# Install Go dependencies and such.