Skip to content

Commit

Permalink
Update gafferpy references (#331)
Browse files Browse the repository at this point in the history
  • Loading branch information
t92549 authored Nov 27, 2023
1 parent 664def5 commit 291502f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions docker/gaffer-pyspark-notebook/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@ ARG KUBECTL_VERSION=1.23.0
RUN curl -fLo /bin/kubectl https://storage.googleapis.com/kubernetes-release/release/v${KUBECTL_VERSION}/bin/linux/amd64/kubectl && \
chmod +x /bin/kubectl

ARG GAFFERPY_VERSION=gaffer-tools-2.0.0
RUN git clone -b ${GAFFERPY_VERSION} --depth 1 https://github.com/gchq/gaffer-tools && \
pushd gaffer-tools/python-shell && \
ARG GAFFERPY_VERSION=gafferpy-2.0.0
RUN git clone -b ${GAFFERPY_VERSION} --depth 1 https://github.com/gchq/gafferpy && \
pushd gafferpy && \
python setup.py install && \
popd && \
rm -rf gaffer-tools
rm -rf gafferpy

RUN jupyter labextension install jupyterlab-plotly@5.5.0 && \
rm -rf "/home/${NB_USER}/.cache/yarn"
Expand Down
2 changes: 1 addition & 1 deletion docker/gaffer-pyspark-notebook/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This extends [scipy-notebook](https://github.com/jupyter/docker-stacks/tree/mast
* Hadoop
* Spark
* `kubectl` and the `kubernetes` python package
* [gafferpy](https://github.com/gchq/gaffer-tools/tree/master/python-shell)
* [gafferpy](https://github.com/gchq/gafferpy/tree/main/)

Some example notebooks that demonstrate how to query Gaffer and use Spark are available at [`/examples`](examples/).

Expand Down
2 changes: 1 addition & 1 deletion docker/gaffer-pyspark-notebook/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ services:
args:
HADOOP_VERSION: ${HADOOP_VERSION}
SPARK_VERSION: ${SPARK_VERSION}
GAFFERPY_VERSION: gaffer-tools-${GAFFERPY_VERSION}
GAFFERPY_VERSION: gafferpy-${GAFFERPY_VERSION}
KUBECTL_VERSION: ${KUBECTL_VERSION}
ports:
- 8888:8888
Expand Down

0 comments on commit 291502f

Please sign in to comment.