Skip to content

Commit

Permalink
fix: use new debain as docker base image (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
scarmuega authored Oct 15, 2023
1 parent ec472ef commit d398433
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 47 deletions.
9 changes: 6 additions & 3 deletions .github/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
FROM alpine:latest
FROM debian:12-slim

RUN apt-get update && apt-get install -y ca-certificates && rm -rf /var/lib/apt/lists/*

ARG TARGETARCH
COPY dolos-Linux-GNU-${TARGETARCH} /bin/dolos
COPY binaries/Linux-GNU-${TARGETARCH}-dolos /bin/dolos
RUN chmod +x /bin/dolos
RUN ln -s /bin/dolos /dolos

ENTRYPOINT ["dolos"]
ENTRYPOINT [ "dolos" ]
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
- name: upload artifacts
uses: actions/upload-artifact@v3
with:
name: dolos-${{ matrix.release_for }}
name: binaries
path: ${{ matrix.release_for }}-${{ matrix.bin }}

docker:
Expand Down Expand Up @@ -146,6 +146,6 @@ jobs:
- name: create release
uses: softprops/action-gh-release@v1
with:
files: dolos-*/*
files: binaries/*
body_path: RELEASE.md
draft: true
42 changes: 0 additions & 42 deletions Dockerfile

This file was deleted.

0 comments on commit d398433

Please sign in to comment.