Skip to content

Commit 6901d19

Browse files
authored
Update the dev container (#134)
* bump container version * Fix container launch script * fastavro is super useful for cat
1 parent e2fecda commit 6901d19

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ ARG base
22
FROM $base
33

44
USER root
5-
RUN pip install --no-cache-dir pyarrow pyiceberg[pandas,snappy,daft,s3fs] avro
5+
RUN pip install --no-cache-dir pyarrow pyiceberg[pandas,snappy,daft,s3fs] avro fastavro
66
USER dev
77
RUN sbt clean compile

build_container.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ else
1515
git archive -o myapp.tar --format=tar HEAD
1616
echo "$hash" > oldhash
1717
fi
18-
VERSION=${VERSION:-0.4}
18+
VERSION=${VERSION:-0.5}
1919
IMAGE=${IMAGE:-holdenk/hps:$VERSION}
2020
MINI_IMAGE=${MINI_IMAGE:-holdenk/hps-mini:$VERSION}
2121
docker buildx build --platform=linux/amd64,linux/arm64 -t "${MINI_IMAGE}" -f Dockerfile-mini . --push

misc/container_launch.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
22
if [ ! -f /high-performance-spark-examples/iceberg-workshop/Workshop.ipynb ]; then
3-
cp /high-performance-spark-examples/iceberg-workshop/Workshop-Template.ipynb /high-performance-spark-examples/iceberg-workshop/Workshop.ipynb
3+
cp /high-performance-spark-examples/iceberg-workshop-solutions/Workshop-Template.ipynb /high-performance-spark-examples/iceberg-workshop/Workshop.ipynb
44
fi
55
jupyter-lab --ip 0.0.0.0 --port 8877

run_container.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22
set -ex
3-
VERSION=${VERSION:-0.4}
3+
VERSION=${VERSION:-0.5}
44
IMAGE=${IMAGE:-holdenk/hps:$VERSION}
55
export VERSION
66
export IMAGE

0 commit comments

Comments
 (0)