Skip to content

Commit d8e2e53

Browse files
committed
build-clean
1 parent 59215c2 commit d8e2e53

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

docker/scripts/build-clean.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
REPO_ROOT=$(dirname $(readlink -f $0))/../..
2+
3+
# Export desktop environment shell configuration
4+
eval "$($REPO_ROOT/docker/scripts/environment.sh)"
5+
6+
# Rebuild the desktop environment
7+
$REPO_ROOT/docker/scripts/build.sh --no-cache

docker/scripts/build.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ docker build \
1717
--file $REPO_ROOT/docker/Dockerfile \
1818
--tag $DESKTOP_ENVIRONMENT_REGISTRY/$DESKTOP_ENVIRONMENT_CONTAINER_IMAGE:$DESKTOP_ENVIRONMENT_CONTAINER_TAG \
1919
--tag $DESKTOP_ENVIRONMENT_REGISTRY/$DESKTOP_ENVIRONMENT_CONTAINER_IMAGE:latest \
20-
$REPO_ROOT/docker
20+
$REPO_ROOT/docker \
21+
$@
2122

2223
# Store build exit code
2324
echo $? > $REPO_ROOT/.build-exit-code

0 commit comments

Comments
 (0)