-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add
git-lfs
to JupyterLab base image (#112)
* Include git-lfs as part of base install * mv 'set -xe' to starting point * Move git-lfs installation after shell init * test basic dep. inclusion * Update permission on executable
- Loading branch information
1 parent
b7febed
commit 1be561c
Showing
3 changed files
with
28 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,4 +44,7 @@ libosmesa6 | |
|
||
# gpg | ||
gnupg | ||
pinentry-curses | ||
pinentry-curses | ||
|
||
# extras | ||
git-lfs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/usr/bin/env bash | ||
# Copyright (c) Nebari Development Team. | ||
# Distributed under the terms of the Modified BSD License. | ||
|
||
set -xe | ||
|
||
# Adding the packagecloud repository for git-lfs installation | ||
wget --quiet -O script.deb.sh https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | ||
expected_sum=5fc673f9a72b94c011b13eb5caedc3aa4541b5c5506b95d013cb7ba0f1cf66cf | ||
|
||
if [[ ! $(sha256sum script.deb.sh) == "${expected_sum} script.deb.sh" ]]; then | ||
echo Unexpected hash from git-lfs install script | ||
exit 1 | ||
fi | ||
|
||
# Install packagecloud's repository signing key and add repository to apt | ||
bash ./script.deb.sh | ||
|
||
# Install git-lfs | ||
apt-get install -y --no-install-recommends git-lfs |