more make Build encountered an error Details

Adam Veldhousen 1 year ago
parent 743eebcd23
commit f8999be8a2
Signed by: adam
GPG Key ID: 6DB29003C6DD1E4B

@ -1,4 +1,4 @@
FROM golang:1.19 as build
FROM as build
RUN go install
RUN go install --tags extended
@ -8,5 +8,5 @@ WORKDIR /go/src/blog
RUN make public
FROM nginx
COPY --from=build /go/src/blog/public /usr/share/nginx/html
COPY --from=build /go/src/blog/public /usr/share/nginx/html

@ -3,11 +3,11 @@ GOBIN = $(shell go env GOPATH)/bin
.PHONY: serve
serve: assets
$(HUGO_BIN) server -D --log -w --bind
@hugo server -D --log -w --bind
.PHONY: new-post
@$(HUGO_BIN) new posts/$(TITLE).md
@hugo new posts/$(TITLE).md
.PHONY: build
@ -23,36 +23,36 @@ test-publish: build
.PHONY: clean
@rm -rf ./public ./resources ./assets/css/syntax.* ./layouts/partials/single/footer.html
@rm -rf ./public ./resources ./themes ./assets/css/syntax.* ./layouts/partials/single/footer.html
.PHONY: tools
HUGO_BIN = $(GOBIN)/hugo
@go install --tags extended
go install --tags extended
OPENRING_BIN = $(GOBIN)/openring
@go install
go install
public: $(HUGO_BIN) ./themes/lines ./assets/css/syntax.light.css ./assets/css/syntax.dark.css ./layouts/partials/single/footer.html
$(HUGO_BIN) --verbose --gc --minify --templateMetrics --templateMetricsHints --enableGitInfo --environment production
$(HUGO_BIN) --verbose --gc --minify --templateMetrics --templateMetricsHints --enableGitInfo --environment production
git submodule update
@git submodule update --init
mkdir -p ./assets/css
@mkdir -p ./assets/css
./assets/css/syntax.light.css: $(HUGO_BIN) ./assets/css
$(HUGO_BIN) gen chromastyles --style=github > assets/css/syntax.light.css
@$(HUGO_BIN) gen chromastyles --style=github > assets/css/syntax.light.css
./assets/css/syntax.dark.css: $(HUGO_BIN) ./assets/css
$(HUGO_BIN) gen chromastyles --style=github-dark > assets/css/syntax.dark.css
@$(HUGO_BIN) gen chromastyles --style=github-dark > assets/css/syntax.dark.css
./layouts/partials/single/footer.html: $(OPENRING_BIN)
mkdir -p ./layouts/partials/single/
@mkdir -p ./layouts/partials/single/
-s \
-s \

@ -1,79 +0,0 @@
<section class="webring">
<h3>Articles from blogs I follow</h3>
<section class="articles">
<div class="article">
<h4 class="title">
<a href="" target="_blank" rel="noopener">My plans at FOSDEM: SourceHut, Hare, and Helios</a>
<p class="summary">FOSDEM is right around the corner, and finally in person after long years of
dealing with COVID. Ill be there again this year, and Im looking forward to
it! I have four slots on the schedule (wow! Thanks for arranging these, FOSDEM
team) and Ill be talkin…</p>
<small class="source">
via <a href="">Drew DeVault&#39;s blog</a>
<small class="date">January 24, 2023</small>
<div class="article">
<h4 class="title">
<a href="" target="_blank" rel="noopener">YSK: Google allows spoofing news headlines in search results</a>
<p class="summary">A minor scandal unfolding in the Swedish election highlights a way to influence news narratives:
Google allows you to set headlines for news articles in search results by paying for adwords placements of legitimate articles.
This is being used by political …</p>
<small class="source">
via <a href="">Jacob Davis-Hansson</a>
<small class="date">September 9, 2022</small>
<div class="article">
<h4 class="title">
<a href="" target="_blank" rel="noopener">Going multipath without Multipath TCP </a>
<p class="summary">Going multipath without Multipath TCP
Gigabit ethernet has been around for a long time, its so ubiquitous that there is a very strong chance that if you have a RJ-45 port on your compu
<small class="source">
via <a href="">benjojo blog</a>
<small class="date">February 24, 2022</small>
<p class="attribution">
Generated by
<a href="">openring</a>
.webring .articles {
display: flex;
flex-wrap: wrap;
margin: -0.5rem;
.webring .title {
margin: 0;
.webring .article {
flex: 1 1 0;
display: flex;
flex-direction: column;
margin: 0.5rem;
padding: 0.5rem;
min-width: 10rem;
.webring .summary {
font-size: 0.8rem;
flex: 1 1 0;
.webring .attribution {
text-align: right;
font-size: 0.8rem;

@ -1 +0,0 @@
Subproject commit a85d561cac091fcd73a248c3d3c426d39ac15155