forked from Mario1159/osic-stacks
Add analog-heavy
This commit is contained in:
parent
ed81403409
commit
570e1819ff
@ -13,8 +13,10 @@ Write-Host "Please select an image index:"
|
|||||||
$imageoptions = @(
|
$imageoptions = @(
|
||||||
'analog-xk'
|
'analog-xk'
|
||||||
'analog-xm'
|
'analog-xm'
|
||||||
|
'analog-heavy'
|
||||||
'digital-ator'
|
'digital-ator'
|
||||||
'digital-icarus'
|
'digital-icarus'
|
||||||
|
'digital-heavy'
|
||||||
'heavy'
|
'heavy'
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -23,7 +25,7 @@ for($i = 0; $i -lt $imageoptions.Length; $i++) {
|
|||||||
Write-Host "$i - $imageoption" -ForegroundColor Cyan
|
Write-Host "$i - $imageoption" -ForegroundColor Cyan
|
||||||
}
|
}
|
||||||
|
|
||||||
$imageindex = Read-Host -Prompt "Container image to initialize [0-$($imageoptions.Length)]"
|
$imageindex = Read-Host -Prompt "Container image to initialize [0-$($imageoptions.Length-1)]"
|
||||||
$imagename = $imageoptions[$imageindex]
|
$imagename = $imageoptions[$imageindex]
|
||||||
$containername = Read-Host -Prompt "Container instance name [default=$imagename]"
|
$containername = Read-Host -Prompt "Container instance name [default=$imagename]"
|
||||||
if (!$containername) { $containername = $imagename }
|
if (!$containername) { $containername = $imagename }
|
||||||
|
15
stacks/analog-heavy/arch.Dockerfile
Normal file
15
stacks/analog-heavy/arch.Dockerfile
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
# OSIC Stacks - analog-heavy-arch
|
||||||
|
# Dev enviroment for analog circuits development using xschem and klayout.
|
||||||
|
FROM osicstack-base-arch
|
||||||
|
|
||||||
|
# Update packages
|
||||||
|
RUN sudo pacman -Syuq --noconfirm
|
||||||
|
|
||||||
|
# Install packages
|
||||||
|
RUN sudo aur-install xschem magic klayout
|
||||||
|
|
||||||
|
# Clean cache
|
||||||
|
RUN sudo pacman -Scc
|
||||||
|
|
||||||
|
# Initialize the enviroment keeping container alive
|
||||||
|
CMD ["sleep", "infinity"]
|
Loading…
Reference in New Issue
Block a user