Skip to content

Commit a02a2e8

Browse files
Merge pull request #30 from kabilar/readme
Update base image and select local Python installation
2 parents b9d6a1d + c58ac5c commit a02a2e8

File tree

5 files changed

+16
-4
lines changed

5 files changed

+16
-4
lines changed

.devcontainer/Dockerfile

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
FROM python:3.7-slim@sha256:85ddc7b500c5e33a6eec44adbde8347a8a07714f03fc638f2cf4b13837bac601
1+
FROM python:3.9-slim@sha256:5f0192a4f58a6ce99f732fe05e3b3d00f12ae62e183886bca3ebe3d202686c7f
2+
3+
ENV PATH /usr/local/bin:$PATH
4+
ENV PYTHON_VERSION 3.9.17
25

36
RUN \
47
adduser --system --disabled-password --shell /bin/bash vscode && \
@@ -22,7 +25,6 @@ RUN \
2225
pip install --no-cache-dir --upgrade black pip && \
2326
echo '. /etc/bash_completion' >> /home/vscode/.bashrc && \
2427
echo 'export PS1="\[\e[32;1m\]\u\[\e[m\]@\[\e[34;1m\]\H\[\e[m\]:\[\e[33;1m\]\w\[\e[m\]$ "' >> /home/vscode/.bashrc && \
25-
# dircolors -b >> /home/vscode/.bashrc && \ # somehow fix colors
2628
apt-get clean
2729
COPY ./requirements.txt /tmp/
2830
RUN \

.devcontainer/devcontainer.json

+3
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020
3306
2121
],
2222
"customizations": {
23+
"settings": {
24+
"python.pythonPath": "/usr/local/bin/python"
25+
},
2326
"vscode": {
2427
"extensions": [
2528

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ docker/standard_worker/.env
118118

119119
# vscode
120120
.vscode/settings.json
121+
*.code-workspace
121122

122123
# ssh
123124
*.ssh

CHANGELOG.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
# Changelog
22

3+
## 0.1.2 - 2023-07-13
4+
5+
+ Update - Pin versions for VS Code extensions
6+
+ Update - Dev Container base Docker image - python:3.7-slim -> python:3.9-slim
7+
+ Add - Environment variables to select local Python install over Linux distribution of Python
8+
39
## 0.1.1 - 2023-06-19
410

5-
+ Add - Docker image hash
11+
+ Add - Docker image ID
612

713
## 0.1.0 - 2023-02-27
814

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
setup(
1414
name="datajoint-tutorials",
15-
version="0.1.1",
15+
version="0.1.2",
1616
description="DataJoint interactive tutorials",
1717
long_description=long_description,
1818
author="DataJoint",

0 commit comments

Comments
 (0)