Skip to content

Commit

Permalink
Install ca-certificates package (#8)
Browse files Browse the repository at this point in the history
* install ca-certificates package

* pushgateway runs on go 1.19
  • Loading branch information
Abuelodelanada committed Sep 14, 2023
1 parent e271bec commit e114141
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 5 additions & 1 deletion 1.6.0/rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,15 @@ parts:
source-type: git
source-tag: "v1.6.0"
build-snaps:
- go/1.21/stable
- go/1.19/stable
build-packages:
- make
override-build: |
make build
install -D -m755 pushgateway ${CRAFT_PART_INSTALL}/bin/pushgateway
organize:
pushgateway: bin/pushgateway
# We moved this here because: https://github.com/canonical/rockcraft/issues/343
ca-certs:
plugin: nil
stage-packages: [ca-certificates]
4 changes: 4 additions & 0 deletions 1.6.1/rockcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,7 @@ parts:
install -D -m755 pushgateway ${CRAFT_PART_INSTALL}/bin/pushgateway
organize:
pushgateway: bin/pushgateway
# We moved this here because: https://github.com/canonical/rockcraft/issues/343
ca-certs:
plugin: nil
stage-packages: [ca-certificates]

0 comments on commit e114141

Please sign in to comment.