Skip to content

Commit

Permalink
Update build process
Browse files Browse the repository at this point in the history
  • Loading branch information
cmmarslender committed Jan 2, 2025
1 parent ca160e0 commit a12d2c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aptly/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ FROM golang:1 as builder

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 a12d2c2

Please sign in to comment.