Skip to content

Commit

Permalink
Fixes to build system
Browse files Browse the repository at this point in the history
  • Loading branch information
sevagh committed Aug 14, 2023
1 parent 14774e9 commit dfe8a00
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile.build
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.12-stretch as build
FROM golang:1.21-bullseye as build

RUN apt-get update -y &&\
apt-get install -y zip
Expand All @@ -11,7 +11,7 @@ RUN make build zip tarball
FROM fedora as rpmbuild

RUN dnf update -y &&\
dnf install -y make rpm-build alien
dnf install -y make rpm-build alien systemd-rpm-macros

COPY ./rpm /goat-rpm-pkg/

Expand Down
2 changes: 1 addition & 1 deletion GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ all: build

docker-build:
mkdir -p $(PKGDIR)
docker build -q -t "goat-builder" -f Dockerfile.build .
docker build -t "goat-builder" -f Dockerfile.build .
docker run -v $(PKGDIR):/goat-pkg goat-builder

build:
Expand Down
1 change: 1 addition & 0 deletions rpm/specfile.spec
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Name: %{pkgname}
Version: %{_version}
Release: 1%{?dist}
Summary: Attach and mount EBS and ENI
BuildRequires: systemd-rpm-macros

License: BSD 3-clause
URL: https://github.com/sevagh/goat
Expand Down

0 comments on commit dfe8a00

Please sign in to comment.