-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Update base-ssec-project to use base-image (#10)
- Loading branch information
Showing
5 changed files
with
20 additions
and
21 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,6 @@ | ||
# Use the latest version of the pangeo/base-notebook (includes CUDA support) | ||
FROM pangeo/base-notebook:latest | ||
|
||
# Set the user to root | ||
USER root | ||
|
||
# Copy the environment file into the Docker image | ||
COPY environment.yml /tmp/environment.yml | ||
|
||
# Create a new Conda environment from the environment.yml file | ||
RUN conda env create -f /tmp/environment.yml | ||
|
||
# Install wget, git, ncdu, and curl | ||
RUN apt-get update && apt-get install -y \ | ||
wget \ | ||
git \ | ||
ncdu \ | ||
curl \ | ||
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
# ONBUILD instructions in base-image/Dockerfile are used to | ||
# perform certain actions based on the presence of specific | ||
# files (such as conda-linux-64.lock, start) in this repo. | ||
# Refer to the base-image/Dockerfile for documentation. | ||
ARG SSEC_BASE_IMAGE_TAG=latest | ||
FROM ghcr.io/uw-ssec/base-image:${SSEC_BASE_IMAGE_TAG} |
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,4 @@ | ||
wget | ||
git | ||
ncdu | ||
curl |
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 |
---|---|---|
|
@@ -15,4 +15,4 @@ dependencies: | |
- matplotlib | ||
- pydantic | ||
- conda-lock | ||
- pip | ||
- pip |
Empty file.
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,9 @@ | ||
#!/bin/bash -l | ||
|
||
# ==== ONLY EDIT WITHIN THIS BLOCK ===== | ||
|
||
|
||
|
||
# ==== ONLY EDIT WITHIN THIS BLOCK ===== | ||
|
||
exec "$@" |