Fix Dockerfile
This commit is contained in:
parent
d8397d102f
commit
5358e3e907
|
@ -10,6 +10,7 @@
|
||||||
FROM fedora:latest
|
FROM fedora:latest
|
||||||
MAINTAINER Noah Petherbridge <root@kirsle.net>
|
MAINTAINER Noah Petherbridge <root@kirsle.net>
|
||||||
ENV GOPATH /go
|
ENV GOPATH /go
|
||||||
|
ENV GOPROXY direct
|
||||||
ENV PATH /bin:/sbin:/usr/bin:/usr/sbin:/go/bin
|
ENV PATH /bin:/sbin:/usr/bin:/usr/sbin:/go/bin
|
||||||
|
|
||||||
# Fedora: Update all software and get dependencies.
|
# 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.
|
# Enter Doodle's directory.
|
||||||
WORKDIR /go/src/git.kirsle.net/apps/doodle
|
WORKDIR /go/src/git.kirsle.net/apps/doodle
|
||||||
RUN echo "replace git.kirsle.net/go/ui => /git/go/ui" >> go.mod && \
|
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/render => /git/go/render" >> go.mod && \
|
||||||
echo "replace git.kirsle.net/go/audio => /git/go/audio" && \
|
echo "replace git.kirsle.net/go/audio => /git/go/audio" >> go.mod && \
|
||||||
cat go.mod
|
cat go.mod
|
||||||
|
|
||||||
# Install Go dependencies and such.
|
# Install Go dependencies and such.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user