Browse Source

Updated hugo

main
Victor Roest 1 year ago
parent
commit
533b9e569c
Signed by: 0x76 GPG Key ID: A3923C699D1A3BDA
  1. 24
      Dockerfile
  2. 4
      README.md
  3. 2
      config.yml
  4. 2
      content/posts/html-boilerplate.md
  5. 24
      content/posts/metallb-opnsense.md

24
Dockerfile

@ -1,13 +1,27 @@
FROM alpine as builder
ENV HUGO_VERSION 0.81.0
ENV HUGO_VERSION 0.83.1
ENV GLIBC_VERSION 2.33-r0
WORKDIR /bin
RUN apk add curl
RUN curl -L https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_linux-64bit.tar.gz | tar -xz
WORKDIR /hugo
RUN apk add --no-cache curl wget libstdc++
# Install glibc
RUN wget -q -O /etc/apk/keys/sgerrand.rsa.pub https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub \
&& wget "https://github.com/sgerrand/alpine-pkg-glibc/releases/download/$GLIBC_VERSION/glibc-$GLIBC_VERSION.apk" \
&& apk --no-cache add "glibc-$GLIBC_VERSION.apk" \
&& rm "glibc-$GLIBC_VERSION.apk" \
&& wget "https://github.com/sgerrand/alpine-pkg-glibc/releases/download/$GLIBC_VERSION/glibc-bin-$GLIBC_VERSION.apk" \
&& apk --no-cache add "glibc-bin-$GLIBC_VERSION.apk" \
&& rm "glibc-bin-$GLIBC_VERSION.apk" \
&& wget "https://github.com/sgerrand/alpine-pkg-glibc/releases/download/$GLIBC_VERSION/glibc-i18n-$GLIBC_VERSION.apk" \
&& apk --no-cache add "glibc-i18n-$GLIBC_VERSION.apk" \
&& rm "glibc-i18n-$GLIBC_VERSION.apk"
RUN curl -L https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-64bit.tar.gz | tar -xz
WORKDIR /build
COPY . .
RUN /bin/hugo
RUN /hugo/hugo
FROM nginxinc/nginx-unprivileged:mainline-alpine
# Point 404 to 404.html

4
README.md

@ -1,5 +1,5 @@
# blog.xirion.net
The source code of my personal blog.
## Hugo Paper Theme
I use the [PaperMod](https://github.com/adityatelange/hugo-PaperMod/) theme for hugo.
@ -8,4 +8,4 @@ I use the [PaperMod](https://github.com/adityatelange/hugo-PaperMod/) theme for
Either clone the repo with `--recursive` or run `git submodule update --init --recursive` after cloning
### Updating the theme
To update the submodule containing the theme run `git submodule update --remote --merge'
To update the submodule containing the theme run `git submodule update --remote --merge`

2
config.yml

@ -12,7 +12,7 @@ buildExpired: false
enableEmoji: true
minify:
disableXML: true
disableXML: false
minifyOutput: true
markup:

2
content/posts/html-boilerplate.md

@ -4,7 +4,7 @@ description: "My personal HTML boilerplate"
date: 2021-04-27T17:09:21+02:00
draft: false
tags:
- web
- Web
---
Everytime when making a website I have to look up the standard HTML5 boilerplate/template again.
To make it easier for myself and possibly others, this is the template that I currently use together an

24
content/posts/metallb-opnsense.md

@ -0,0 +1,24 @@
---
title: "MetalLB OPNsense"
date: 2021-04-28T11:40:57+02:00
draft: true
TocOpen: true
tags:
- Kubernetes
- Networking
categories:
- tutorial
---
... intro ...
## Kubernetes Setup
## OPNsense Setup
## References
* https://metallb.universe.tf/concepts/bgp/
* https://blog.matrixpost.net/set-up-dynamic-routing-with-frr-free-range-routing-in-pfsense-openbgpd-now-depricated/
* https://007ba7.us/howto/metallb/
* https://www.danmanners.com/posts/2019-02-pfsense-bgp-kubernetes/
* https://devopstales.github.io/home/k8s-metallb-bgp-pfsense/
Loading…
Cancel
Save