Skip to content

Commit

Permalink
speed up dnf ops (go-gitea#15)
Browse files Browse the repository at this point in the history
Signed-off-by: lcr <pkwarcraft@gmail.com>
  • Loading branch information
pkking committed Dec 30, 2023
1 parent c5d03d4 commit e3e17ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile.rootless_cdn
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Build stage
FROM openeuler/openeuler:22.03 AS build-env

RUN dnf -y update && dnf install -y wget make xz git && \
RUN dnf -y update --repo OS --repo update && dnf install -y wget make xz git --repo OS --repo update && \
dnf clean all

# install go
Expand Down Expand Up @@ -46,7 +46,7 @@ FROM openeuler/openeuler:22.03

EXPOSE 2222 3000

RUN dnf in -y \
RUN dnf in -y --repo OS --repo update \
bash \
ca-certificates \
gettext \
Expand Down

0 comments on commit e3e17ea

Please sign in to comment.