Skip to content

Commit

Permalink
use alpine3.18 by default
Browse files Browse the repository at this point in the history
  • Loading branch information
gregnuj committed Jan 5, 2024
1 parent a932302 commit ded5b40
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 31 deletions.
3 changes: 2 additions & 1 deletion alpine.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
ARG GO_VERSION="1.20"
ARG ALPINE_VERSION="3.18"

################################################################################
FROM golang:${GO_VERSION}-alpine as base
FROM golang:${GO_VERSION}-alpine${ALPINE_VERSION} as base

# NOTE: add libusb-dev to run with LEDGER_ENABLED=true
RUN set -eu && \
Expand Down
2 changes: 1 addition & 1 deletion arch.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ ARG GO_VERSION="1.20.8"

# # NOTE: add libusb-dev to run with LEDGER_ENABLED=true
RUN set -eu & \
pacman -Syyu --noconfirm linux-headers base-devel glibc git bc man-pages && \
pacman -Syyu --noconfirm linux-headers base-devel glibc git bc && \
curl -sSL https://go.dev/dl/go${GO_VERSION}.${OS}-${ARCH}.tar.gz | \
tar -C / -xz && \
ln -s /go/bin/go /usr/local/bin/go
Expand Down
29 changes: 0 additions & 29 deletions builds/chihuahua.1.0.0.alpine.sh

This file was deleted.

0 comments on commit ded5b40

Please sign in to comment.