10000 build-clean · sabrehagen/desktop-environment@4c3a450 · GitHub
[go: up one dir, main page]

Skip to content

Commit

Permalink
build-clean
Browse files Browse the repository at this point in the history
  • Loading branch information
decidrjackson committed Feb 24, 2025
1 parent 59215c2 commit 4c3a450
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
7 changes: 7 additions & 0 deletions docker/scripts/build-clean.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
REPO_ROOT=$(dirname $(readlink -f $0))/../..

# Export desktop environment shell configuration
eval "$($REPO_ROOT/docker/scripts/environment.sh)"

# Build the desktop environment without cache
$REPO_ROOT/docker/scripts/build.sh --no-cache
3 changes: 2 additions & 1 deletion docker/scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ docker build \
--file $REPO_ROOT/docker/Dockerfile \
--tag $DESKTOP_ENVIRONMENT_REGISTRY/$DESKTOP_ENVIRONMENT_CONTAINER_IMAGE:$DESKTOP_ENVIRONMENT_CONTAINER_TAG \
--tag $DESKTOP_ENVIRONMENT_REGISTRY/$DESKTOP_ENVIRONMENT_CONTAINER_IMAGE:latest \
$REPO_ROOT/docker
$REPO_ROOT/docker \
$@

# Store build exit code
echo $? > $REPO_ROOT/.build-exit-code
Expand Down

0 comments on commit 4c3a450

Please sign in to comment.
0