Skip to content

Commit 44aa177

Browse files
Update Go and gcc versions:
The gcc version needed updated as it was quite old and was failing to install packages. Signed-off-by: Jacob Weinstock <[email protected]>
1 parent 132cf69 commit 44aa177

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

syslinux/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# syntax=docker/dockerfile:1
22

33
# Build syslinux as an syslinux3.86
4-
FROM gcc:10.2.0 AS syslinux3.86
4+
FROM gcc:15.1.0 AS syslinux3.86
55
RUN apt-get update -y; apt-get install -y nasm build-essential uuid-dev
66
RUN wget https://cdn.kernel.org/pub/linux/utils/boot/syslinux/3.xx/syslinux-3.86.tar.gz; tar -xvzf ./syslinux-3.86.tar.gz
77
WORKDIR /syslinux-3.86/libinstaller
@@ -14,7 +14,7 @@ RUN gcc -Wp,-MT,ldlinux_bin.o,-MMD,./.ldlinux_bin.o.d -W -Wall -Wstrict-prototyp
1414
RUN gcc -s -static -o syslinux syslinux.o syslxmod.o bootsect_bin.o ldlinux_bin.o
1515

1616
# Build syslinux
17-
FROM golang:1.21-alpine AS syslinux
17+
FROM golang:1.24-alpine AS syslinux
1818
RUN apk add --no-cache git ca-certificates gcc linux-headers musl-dev
1919
COPY . /src
2020
WORKDIR /src/syslinux

0 commit comments

Comments
 (0)