Skip to content

Commit

Permalink
Update aptly to 1.6.0 (#89)
Browse files Browse the repository at this point in the history
* Update aptly to 1.6.0

* Update build process
  • Loading branch information
cmmarslender authored Jan 2, 2025
1 parent 4afde78 commit 20d4f8b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions aptly/Dockerfile
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

View workflow job for this annotation

GitHub Actions / build / package

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 1 in aptly/Dockerfile

View workflow job for this annotation

GitHub Actions / build / package

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

Check warning on line 1 in aptly/Dockerfile

View workflow job for this annotation

GitHub Actions / build / package

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/

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

0 comments on commit 20d4f8b

Please sign in to comment.