mirror of
https://github.com/sethforprivacy/p2pool-docker.git
synced 2025-12-07 16:05:05 -05:00
Enable package upgrades in Dockerfile and disable caching in weekly builds
This commit is contained in:
2
.github/workflows/update-base-image.yml
vendored
2
.github/workflows/update-base-image.yml
vendored
@@ -45,8 +45,6 @@ jobs:
|
||||
org.opencontainers.image.source=${{ github.event.repository.html_url }}
|
||||
org.opencontainers.image.created=${{ steps.prep.outputs.created }}
|
||||
org.opencontainers.image.revision=${{ github.sha }}
|
||||
cache-from: type=registry,ref=${{ secrets.DOCKER_USERNAME }}/simple-monerod:latest
|
||||
cache-to: type=inline
|
||||
-
|
||||
name: Scan new image and output results
|
||||
uses: Azure/container-scan@v0
|
||||
|
||||
@@ -8,7 +8,9 @@ LABEL author="sethsimmons@pm.me" \
|
||||
|
||||
# Dependency list from https://github.com/monero-project/monero#compiling-monero-from-source
|
||||
# Added DEBIAN_FRONTEND=noninteractive to workaround tzdata prompt on installation
|
||||
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get -y install --no-install-recommends build-essential cmake \
|
||||
RUN apt-get update \
|
||||
&& apt-get upgrade -y \
|
||||
&& DEBIAN_FRONTEND=noninteractive apt-get -y install --no-install-recommends build-essential cmake \
|
||||
pkg-config libboost-all-dev libssl-dev libzmq3-dev libunbound-dev ca-certificates \
|
||||
libsodium-dev libunwind8-dev liblzma-dev libreadline6-dev libldns-dev \
|
||||
libexpat1-dev doxygen graphviz libpgm-dev qttools5-dev-tools libhidapi-dev \
|
||||
@@ -45,7 +47,9 @@ RUN test -z "$NPROC" && nproc > /nproc || echo -n "$NPROC" > /nproc && make -j"$
|
||||
FROM ubuntu:20.04
|
||||
|
||||
# Install remaining dependencies
|
||||
RUN apt-get update && apt-get install --no-install-recommends -y curl libnorm-dev libpgm-dev libgssapi-krb5-2 \
|
||||
RUN apt-get update \
|
||||
&& apt-get upgrade -y \
|
||||
&& apt-get install --no-install-recommends -y curl libnorm-dev libpgm-dev libgssapi-krb5-2 \
|
||||
&& apt-get clean \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user