changed analog-tools to chipathon-tools. Using heavy container
This commit is contained in:
parent
4a3f30d5e9
commit
e9c4c8ffdd
@ -2,8 +2,8 @@
|
|||||||
setlocal
|
setlocal
|
||||||
|
|
||||||
@REM SET BASE_IMG=git.1159.cl/mario1159/analog-xk-web:latest
|
@REM SET BASE_IMG=git.1159.cl/mario1159/analog-xk-web:latest
|
||||||
SET BASE_IMG=git.1159.cl/mario1159/analog-xk-desktop:latest
|
SET BASE_IMG=git.1159.cl/mario1159/heavy-desktop:latest
|
||||||
SET RESULT_IMAGE=akilesalreadytaken/analog-tools:latest
|
SET RESULT_IMAGE=akilesalreadytaken/chipathon-tools:latest
|
||||||
|
|
||||||
SET CALL=call
|
SET CALL=call
|
||||||
:parse
|
:parse
|
||||||
@ -24,7 +24,7 @@ SET CALL=call
|
|||||||
|
|
||||||
|
|
||||||
:run
|
:run
|
||||||
%CALL% docker build --build-arg BASE_IMG=%BASE_IMG% -t %RESULT_IMAGE% -f stacks/analog-tools/Dockerfile stacks/analog-tools/
|
%CALL% docker build --build-arg BASE_IMG=%BASE_IMG% -t %RESULT_IMAGE% -f stacks/chipathon-tools/Dockerfile stacks/chipathon-tools/
|
||||||
GOTO end
|
GOTO end
|
||||||
|
|
||||||
:end
|
:end
|
||||||
|
4
run.bat
4
run.bat
@ -2,7 +2,7 @@
|
|||||||
setlocal
|
setlocal
|
||||||
|
|
||||||
SET IMAGE=akilesalreadytaken/analog-xk:latest
|
SET IMAGE=akilesalreadytaken/analog-xk:latest
|
||||||
SET IMAGE=akilesalreadytaken/analog-tools:latest
|
SET IMAGE=akilesalreadytaken/chipathon-tools:latest
|
||||||
::SET IMAGE=git.1159.cl/mario1159/analog-xk-web:latest
|
::SET IMAGE=git.1159.cl/mario1159/analog-xk-web:latest
|
||||||
|
|
||||||
SET CALL=call
|
SET CALL=call
|
||||||
@ -51,7 +51,7 @@ SET CALL=call
|
|||||||
IF NOT DEFINED CONTAINER_USER SET CONTAINER_USER=1000
|
IF NOT DEFINED CONTAINER_USER SET CONTAINER_USER=1000
|
||||||
IF NOT DEFINED CONTAINER_GROUP SET CONTAINER_GROUP=1000
|
IF NOT DEFINED CONTAINER_GROUP SET CONTAINER_GROUP=1000
|
||||||
|
|
||||||
IF NOT DEFINED CONTAINER_NAME SET CONTAINER_NAME=analog-tools
|
IF NOT DEFINED CONTAINER_NAME SET CONTAINER_NAME=chipathon-tools
|
||||||
|
|
||||||
IF NOT DEFINED JUPYTER_PORT SET JUPYTER_PORT=8888
|
IF NOT DEFINED JUPYTER_PORT SET JUPYTER_PORT=8888
|
||||||
IF NOT DEFINED VNC_PORT SET VNC_PORT=8444
|
IF NOT DEFINED VNC_PORT SET VNC_PORT=8444
|
||||||
|
4
run.sh
4
run.sh
@ -2,7 +2,7 @@
|
|||||||
set -e
|
set -e
|
||||||
|
|
||||||
# IMAGE=akilesalreadytaken/analog-xk:latest
|
# IMAGE=akilesalreadytaken/analog-xk:latest
|
||||||
IMAGE=akilesalreadytaken/analog-tools:latest
|
IMAGE=akilesalreadytaken/chipathon-tools:latest
|
||||||
# IMAGE=git.1159.cl/mario1159/analog-xk-web:latest
|
# IMAGE=git.1159.cl/mario1159/analog-xk-web:latest
|
||||||
|
|
||||||
CALL=
|
CALL=
|
||||||
@ -48,7 +48,7 @@ function run () {
|
|||||||
[ -z "${CONTAINER_USER+x}" ] && CONTAINER_USER=$(id -u)
|
[ -z "${CONTAINER_USER+x}" ] && CONTAINER_USER=$(id -u)
|
||||||
[ -z "${CONTAINER_GROUP+x}" ] && CONTAINER_GROUP=$(id -g)
|
[ -z "${CONTAINER_GROUP+x}" ] && CONTAINER_GROUP=$(id -g)
|
||||||
|
|
||||||
[ -z "${CONTAINER_NAME+x}" ] && CONTAINER_NAME=analog-tools
|
[ -z "${CONTAINER_NAME+x}" ] && CONTAINER_NAME=chipathon-tools
|
||||||
|
|
||||||
[ -z "${JUPYTER_PORT+x}" ] && JUPYTER_PORT=8888
|
[ -z "${JUPYTER_PORT+x}" ] && JUPYTER_PORT=8888
|
||||||
[ -z "${VNC_PORT+x}" ] && VNC_PORT=8444
|
[ -z "${VNC_PORT+x}" ] && VNC_PORT=8444
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
ARG BASE_IMG=analog-xk
|
ARG BASE_IMG=heavy-desktop
|
||||||
FROM $BASE_IMG as analog-tools
|
FROM $BASE_IMG as chipathon-tools
|
||||||
|
|
||||||
# Add scripts
|
# Add scripts
|
||||||
COPY --chown=designer:designer --chmod=755 scripts/install-open-pdks.sh .
|
COPY --chown=designer:designer --chmod=755 scripts/install-open-pdks.sh .
|
@ -11,6 +11,7 @@ PRECHECK_REPO=https://raw.githubusercontent.com/efabless/mpw_precheck/main/check
|
|||||||
PRECHECK_GF_FILE=gf180mcuC_mr.drc
|
PRECHECK_GF_FILE=gf180mcuC_mr.drc
|
||||||
PRECHECK_SKY_FILE=sky130A_mr.drc
|
PRECHECK_SKY_FILE=sky130A_mr.drc
|
||||||
|
|
||||||
|
# TODO: DOWNLOAD WITH WGET, DONT HAVE IT STATIC
|
||||||
if [ -d $SCRIPT_DIR/iic-spice-model-red.py ]; then
|
if [ -d $SCRIPT_DIR/iic-spice-model-red.py ]; then
|
||||||
echo File iic-spice-model.red.py not found
|
echo File iic-spice-model.red.py not found
|
||||||
return -1
|
return -1
|
Loading…
Reference in New Issue
Block a user