Skip to content

Commit

Permalink
Merge pull request #58 from 0x61nas/chore/docker
Browse files Browse the repository at this point in the history
fix: docker
  • Loading branch information
mergify[bot] authored Feb 20, 2024
2 parents 1748820 + 88f389b commit 831ee71
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 14 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
branches:
- aurora
tags:
- "v*.*.*"
- "*.*.*"
pull_request:
branches:
- aurora
Expand All @@ -25,8 +25,8 @@ jobs:
uses: docker/metadata-action@v5
with:
images: |
0x61nas/aarty
ghcr.io/${{ github.repository_owner }}/aarty/aarty
anaselgarhy/aarty
ghcr.io/${{ github.repository_owner }}/aarty
tags: |
type=schedule
type=ref,event=branch
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
- name: Scan the image
uses: anchore/sbom-action@v0
with:
image: ghcr.io/${{ github.repository_owner }}/aarty/aarty
image: ghcr.io/${{ github.repository_owner }}/aarty

- name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}
10 changes: 0 additions & 10 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,6 @@ RUN cargo build --release --locked \
&& rm -f target/release/deps/aarty*

FROM debian:buster-slim as runner
RUN sed -i '/path\-exclude\s\/usr\/share\/man\/\*/d' /etc/dpkg/dpkg.cfg.d/docker
RUN apt-get update && \
apt-get install -y --no-install-recommends --allow-unauthenticated \
less \
man-db \
manpages && \
apt-get install -y --reinstall coreutils && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
RUN mandb
COPY --from=builder /app/target/release/aarty /usr/local/bin
WORKDIR /app
ENTRYPOINT ["aarty"]

0 comments on commit 831ee71

Please sign in to comment.