mirror of
https://github.com/dashpay/dash.git
synced 2024-12-25 03:52:49 +01:00
feat: add smob and provenance in release for dockerhub; use jammy; apt remove as possible
This commit is contained in:
parent
444956733a
commit
9178e8a75f
2
.github/workflows/release_docker_hub.yml
vendored
2
.github/workflows/release_docker_hub.yml
vendored
@ -65,6 +65,8 @@ jobs:
|
|||||||
context: ./contrib/containers/deploy
|
context: ./contrib/containers/deploy
|
||||||
file: ./contrib/containers/deploy/Dockerfile.GitHubActions.Release
|
file: ./contrib/containers/deploy/Dockerfile.GitHubActions.Release
|
||||||
push: true
|
push: true
|
||||||
|
provenance: mode=max
|
||||||
|
sbom: true
|
||||||
tags: ${{ steps.docker_meta.outputs.tags }}
|
tags: ${{ steps.docker_meta.outputs.tags }}
|
||||||
labels: ${{ steps.docker_meta.outputs.labels }}
|
labels: ${{ steps.docker_meta.outputs.labels }}
|
||||||
build-args: |
|
build-args: |
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
FROM ubuntu:focal
|
FROM ubuntu:jammy
|
||||||
LABEL maintainer="Dash Developers <dev@dash.org>"
|
LABEL maintainer="Dash Developers <dev@dash.org>"
|
||||||
LABEL description="Dockerised DashCore"
|
LABEL description="Dockerised DashCore"
|
||||||
|
|
||||||
@ -33,6 +33,14 @@ RUN mach=$(uname -m) \
|
|||||||
&& rm -rf /tmp/dashcore* \
|
&& rm -rf /tmp/dashcore* \
|
||||||
&& chmod a+x /usr/local/bin/*
|
&& chmod a+x /usr/local/bin/*
|
||||||
|
|
||||||
|
RUN apt-get update && \
|
||||||
|
apt list --installed && \
|
||||||
|
apt-get -y purge \
|
||||||
|
wget \
|
||||||
|
ca-certificates \
|
||||||
|
&& apt-get -y autoremove \
|
||||||
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
USER dash
|
USER dash
|
||||||
|
|
||||||
VOLUME ["/home/dash"]
|
VOLUME ["/home/dash"]
|
||||||
|
Loading…
Reference in New Issue
Block a user