working build and clean hugo
This commit is contained in:
parent
58edd501fb
commit
ec3ad75108
23
.build/Dockerfile
Normal file
23
.build/Dockerfile
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
FROM nginx
|
||||||
|
|
||||||
|
# set work dir
|
||||||
|
WORKDIR /etc/nginx/
|
||||||
|
|
||||||
|
# Set build shell to bash, default has has some issues sometimes
|
||||||
|
SHELL ["/bin/bash", "-c"]
|
||||||
|
|
||||||
|
## Language setup and Initial repo update
|
||||||
|
#RUN apt update \
|
||||||
|
# && apt install -y --no-install-recommends nginx-extras iputils-ping ca-certificates wget curl nano locales \
|
||||||
|
# && apt auto-remove -y \
|
||||||
|
# && apt clean -y
|
||||||
|
#ENV LANG en_US.UTF-8
|
||||||
|
#ENV LANGUAGE en_US:en
|
||||||
|
#ENV LC_ALL en_US.UTF-8
|
||||||
|
#RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen \
|
||||||
|
# && locale-gen
|
||||||
|
#
|
||||||
|
## clean up
|
||||||
|
#RUN rm -rfv /var/lib/apt/lists /var/lib/dpkg/info
|
||||||
|
|
||||||
|
COPY public/ /usr/share/nginx/html
|
9
.build/docker-compose.yml
Normal file
9
.build/docker-compose.yml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
version: '3.5'
|
||||||
|
services:
|
||||||
|
#########################
|
||||||
|
nginx:
|
||||||
|
build:
|
||||||
|
context: ../
|
||||||
|
dockerfile: .build/Dockerfile
|
||||||
|
hostname: sarbblog
|
||||||
|
image: sarblog
|
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
[submodule "themes/ananke"]
|
||||||
|
path = themes/ananke
|
||||||
|
url = https://github.com/theNewDynamic/gohugo-theme-ananke
|
6
archetypes/default.md
Normal file
6
archetypes/default.md
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
title: "{{ replace .Name "-" " " | title }}"
|
||||||
|
date: {{ .Date }}
|
||||||
|
draft: true
|
||||||
|
---
|
||||||
|
|
3
config.toml
Normal file
3
config.toml
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
baseURL = 'http://example.org/'
|
||||||
|
languageCode = 'en-us'
|
||||||
|
title = 'My New Hugo Site'
|
1
themes/ananke
Submodule
1
themes/ananke
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit a1a99cf12681ad95b006e648a28139e6b9b75f09
|
Loading…
x
Reference in New Issue
Block a user