-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
FROM docker.io/library/alpine:3.19 as rpi | ||
|
||
COPY ./serials /serials | ||
|
||
ADD https://github.com/pftf/RPi4/releases/download/v1.37/RPi4_UEFI_Firmware_v1.37.zip RPi4_UEFI_Firmware.zip | ||
|
||
RUN apk add --update --no-cache \ | ||
unzip \ | ||
&& mkdir /rpi4 \ | ||
&& mv RPi4_UEFI_Firmware.zip /rpi4/RPi4_UEFI_Firmware.zip \ | ||
&& cd /rpi4 \ | ||
&& ls \ | ||
&& unzip RPi4_UEFI_Firmware.zip \ | ||
&& rm RPi4_UEFI_Firmware.zip \ | ||
&& mkdir /tftp \ | ||
&& ls /serials | while read serial; do mkdir /tftp/$serial && cp -r /rpi4/* /tftp/$serial && cp -r /serials/$serial/* /tftp/$serial/; done | ||
FROM quay.io/poseidon/dnsmasq:v0.5.0-31-gdc1adc8 | ||
COPY --from=rpi /tftp /var/lib/tftpboot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/usr/bin/env python | ||
|
||
def get_latest(channel): | ||
return "v0.0.1" | ||
|
||
if __name__ == "__main__": | ||
import sys | ||
channel = sys.argv[1] | ||
print(get_latest(channel)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
app: "raspberrypi4-uefi" | ||
base: false | ||
semantic_versioning: true | ||
channels: | ||
- name: "stable" | ||
platforms: | ||
- linux/arm64 | ||
- linux/amd64 | ||
stable: true | ||
tests: | ||
enabled: false |
Empty file.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.