Skip to content

Commit

Permalink
Use DockerHub user risvc64/ubuntu
Browse files Browse the repository at this point in the history
  • Loading branch information
MisterDA committed Mar 13, 2023
1 parent ff2a5ce commit 9414eb0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
unreleased
----------

- Use DockerHub user risvc64/ubuntu. (@MisterDA, #150)
- Various LCU Updates (@mtelvers #144 #136 #135)
- Support mounts, networks, and security parameters in RUN
commands, add buildkit_syntax helper function.
Expand Down
6 changes: 4 additions & 2 deletions src-opam/distro.ml
Original file line number Diff line number Diff line change
Expand Up @@ -1290,7 +1290,7 @@ let base_distro_tag ?win10_revision ?(arch = `X86_64) d =
| `Ppc64le, (`V8 | `V9 | `V10) -> ("ppc64le/debian", tag)
| `S390x, (`V8 | `V9 | `V10) -> ("s390x/debian", tag)
| _ -> ("debian", tag))
| `Ubuntu v ->
| `Ubuntu v -> (
let tag =
match v with
| `V12_04 -> "precise"
Expand All @@ -1312,7 +1312,9 @@ let base_distro_tag ?win10_revision ?(arch = `X86_64) d =
| `V22_04 -> "jammy"
| `V22_10 -> "kinetic"
in
("ubuntu", tag)
match arch with
| `Riscv64 -> ("riscv64/ubuntu", tag)
| _ -> ("ubuntu", tag))
| `CentOS v ->
let tag = match v with `V6 -> "6" | `V7 -> "7" | `V8 -> "8" in
("centos", tag)
Expand Down

0 comments on commit 9414eb0

Please sign in to comment.