Skip to content

Commit

Permalink
snap: Change myip to core20
Browse files Browse the repository at this point in the history
  • Loading branch information
abitrolly committed Apr 25, 2023
1 parent 114ebda commit 33b8e0d
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions snapcrafting/myip/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ summary: show external IP address
description: |
uses DNS protocol and `dig` tool to query external IP from OpenDNS
base: core18
base: core20

apps:
myip:
Expand All @@ -14,12 +14,11 @@ apps:
parts:
myip:
plugin: nil
stage-packages:
# install `dig` utility
- dnsutils
source: .
# overriding the build/ step to copy the script for packing
# https://snapcraft.io/docs/parts-lifecycle#heading--parts-directories
override-build: |
pwd
cp myip.sh $SNAPCRAFT_PART_INSTALL/
# installing `dig`
stage-packages:
- dnsutils

0 comments on commit 33b8e0d

Please sign in to comment.