Revert "Fix Docker image and temp fix for upstream broken minify"
This reverts commit 3a44caa8ff.
This commit is contained in:
@@ -16,12 +16,6 @@ COPY go.sum .
|
|||||||
|
|
||||||
# Install deps
|
# Install deps
|
||||||
RUN make deps
|
RUN make deps
|
||||||
|
|
||||||
# XXX: https://github.com/tdewolff/minify/issues/374
|
|
||||||
RUN wget https://github.com/tdewolff/minify/releases/download/v2.9.11/minify_linux_amd64.tar.gz && \
|
|
||||||
tar -C /go/bin -xvf minify_linux_amd64.tar.gz minify && \
|
|
||||||
chmod +x /go/bin/minify
|
|
||||||
|
|
||||||
RUN go mod download
|
RUN go mod download
|
||||||
|
|
||||||
# Copy static assets
|
# Copy static assets
|
||||||
|
|||||||
3
Makefile
3
Makefile
@@ -8,8 +8,7 @@ all: build
|
|||||||
|
|
||||||
deps:
|
deps:
|
||||||
@go get -u github.com/GeertJohan/go.rice/rice
|
@go get -u github.com/GeertJohan/go.rice/rice
|
||||||
# XXX: https://github.com/tdewolff/minify/issues/374
|
@go get -u github.com/tdewolff/minify/v2/cmd/...
|
||||||
#@go get -u github.com/tdewolff/minify/v2/cmd/...
|
|
||||||
|
|
||||||
dev : DEBUG=1
|
dev : DEBUG=1
|
||||||
dev : build
|
dev : build
|
||||||
|
|||||||
Reference in New Issue
Block a user