bump fedora version to 34 (#2)
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
f33 --> f34 Reviewed-on: #2 Co-authored-by: wanderer <wanderer@noreply.git.dotya.ml> Co-committed-by: wanderer <wanderer@noreply.git.dotya.ml>
This commit is contained in:
parent
3f9bb20c96
commit
c6bb855b41
@ -22,6 +22,10 @@ steps:
|
||||
- curl -sO https://git.dotya.ml/wanderer/docker-fedora-hugo/raw/branch/master/curl.it
|
||||
- bash ./curl.it $ENDPOINT
|
||||
|
||||
trigger:
|
||||
branch: [master]
|
||||
event: [push, cron]
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
type: docker
|
||||
@ -73,8 +77,6 @@ steps:
|
||||
from_secret: discord_webhook_token
|
||||
|
||||
trigger:
|
||||
branch:
|
||||
- master
|
||||
event:
|
||||
exclude: [pull_request]
|
||||
include: [push, tag]
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM fedora:33
|
||||
FROM fedora:34
|
||||
|
||||
ENV HUGO_VERSION 0.82.0
|
||||
|
||||
@ -16,14 +16,14 @@ ADD https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_ext
|
||||
|
||||
WORKDIR /tmp/
|
||||
RUN dnf --refresh upgrade -y && dnf install -y git findutils
|
||||
RUN tar xfv /tmp/hugo.tar.gz && rm -v /tmp/hugo.tar.gz README.md LICENSE \
|
||||
RUN tar xfv /tmp/hugo.tar.gz && rm -fv /tmp/hugo.tar.gz README.md LICENSE \
|
||||
&& chmod +x /tmp/hugo \
|
||||
&& mkdir -pv /usr/local/bin \
|
||||
&& mv -v /tmp/hugo /usr/local/bin/ \
|
||||
&& rm -rv /tmp/*
|
||||
&& rm -rfv /tmp/*
|
||||
RUN dnf autoremove -y -x findutils \
|
||||
&& dnf clean all -y
|
||||
RUN rm -r /usr/share/zoneinfo/* ; rm -r /usr/include/* ; \
|
||||
RUN rm -rf /usr/share/zoneinfo/* ; rm -rf /usr/include/* ; \
|
||||
find /. -name "*~" -type f -delete; \
|
||||
find /usr/share/terminfo/. ! -name "*xterm*" ! -name "*screen*" ! -name "*screen*" -type f -delete
|
||||
WORKDIR /
|
||||
|
Loading…
Reference in New Issue
Block a user