jlesage / docker-baseimage-gui

A minimal docker baseimage to ease creation of X graphical application containers
MIT License
1.2k stars 179 forks source link

Malformed .web_data.json resulting in: JSON.parse: expected property name or '}' at line 2 column 1 of the JSON data #76

Closed h7io closed 2 years ago

h7io commented 2 years ago

Hi,

I have the following Dockerfile:

# Pull base image.
FROM jlesage/baseimage-gui:ubuntu-18.04-v4.0.3

RUN apt-get update && apt-get -y install libreoffice

# Copy the start script.
COPY startapp.sh /startapp.sh

# Set the name of the application.
RUN set-cont-env APP_NAME "libreoffice"

and the following startapp.sh:

#!/bin/sh
export HOME=/config

exec /usr/bin/libreoffice --calc

and when I open the URL to see the app I see:

image

I have docker exec'd into the container and see this: image

I think the -ne strings should not be there.

Any idea what could the issue be?

Really liking the idea and docker image. Outstanding work.

jlesage commented 2 years ago

Thanks for reporting, I'm fixing this.

jlesage commented 2 years ago

Fixed in version 4.0.4.