Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix missing libwebkitgtk #6

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,20 @@ RUN wget https://downloads.sourceforge.net/project/jtds/jtds/1.3.1/jtds-1.3.1-di
&& unzip Jaybird-3.0.4-JDK_1.8.zip -d lib \
&& rm -rf lib/docs/ Jaybird-3.0.4-JDK_1.8.zip

# Adictional Setup
COPY ./setup.sh /
RUN chmod +x /setup.sh \
&& . /setup.sh

# Install xauth
RUN apt-get update && apt-get install -y xauth libwebkitgtk-1.0-0

# First time run
RUN pan.sh -file ./plugins/platform-utils-plugin/samples/showPlatformVersion.ktr \
&& kitchen.sh -file samples/transformations/files/test-job.kjb

# Install xauth
RUN apt-get update && apt-get install -y xauth

#VOLUME /jobs

COPY entrypoint.sh /
COPY ./entrypoint.sh /
ENTRYPOINT ["/entrypoint.sh"]
CMD ["help"]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ $ sudo curl -fsSL https://raw.githubusercontent.com/andrespp/docker-pdi/master/s
$ sudo chmod +x /usr/local/bin/spoon
```

Then you'll be able to run JupyterLab in the current directory simply by calling `jlab`:
Then you'll be able to run spoon in the current directory simply by calling `spoon`:

```bash
$ spoon
Expand Down
8 changes: 8 additions & 0 deletions setup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash

## Add libwebkitgtk repository
echo deb 'http://cz.archive.ubuntu.com/ubuntu bionic main universe' >> /etc/apt/sources.list

## Add repository PUB_KEY
KEYS=$(apt update 2>&1 1>/dev/null | sed -ne 's/.*NO_PUBKEY //p')
echo $KEYS | while read key; do apt-key adv --keyserver hkp://pool.sks-keyservers.net:80 --recv-keys "$key"; done