-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update aptly to 1.6.0 * Update build process
- Loading branch information
1 parent
4afde78
commit 20d4f8b
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
FROM golang:1 as builder | ||
Check warning on line 1 in aptly/Dockerfile GitHub Actions / build / packageThe 'as' keyword should match the case of the 'from' keyword
Check warning on line 1 in aptly/Dockerfile GitHub Actions / build / packageThe 'as' keyword should match the case of the 'from' keyword
Check warning on line 1 in aptly/Dockerfile GitHub Actions / build / packageThe 'as' keyword should match the case of the 'from' keyword
|
||
|
||
RUN git clone --branch v1.5.0 https://github.com/aptly-dev/aptly.git && \ | ||
RUN git clone --branch v1.6.0 https://github.com/aptly-dev/aptly.git && \ | ||
cd aptly && \ | ||
make modules install | ||
make build | ||
|
||
FROM ubuntu:22.04 | ||
|
||
RUN DEBIAN_FRONTEND=noninteractive apt-get update && \ | ||
DEBIAN_FRONTEND=noninteractive apt-get install -y awscli curl git gpg jq wget && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
COPY --from=builder /go/bin/aptly /usr/bin/aptly | ||
COPY --from=builder /go/aptly/build/aptly /usr/bin/aptly |