Giter VIP home page Giter VIP logo

Comments (4)

jlesage avatar jlesage commented on September 13, 2024 1

Sorry for the delay. Alpine is working fine. If you want to stick with Debian images, you can use the SHELL variable to set the shell to be used by xterm. So for example, your startapp.sh could be:

#!/bin/sh
export SHELL=/bin/bash
exec /usr/bin/xterm

from docker-baseimage-gui.

jlesage avatar jlesage commented on September 13, 2024

It seems to be an issue with the terminal itself, which is not handling arrow keys properly. I tried with xterm and it works perfectly.

from docker-baseimage-gui.

ShamrockLee avatar ShamrockLee commented on September 13, 2024

@jlesage Thank you for telling me that.

But It does occur to xterm and Debian 10.
It can also be reproduced using xfce4-terminal, and it occurs no matter if you connect to it through Firefox, Chromium, or TigerVNC.

Dockerfile

FROM jlesage/baseimage-gui:debian-10
COPY startapp.sh /startapp.sh
RUN \
apt-get update && \
apt-get install -y xterm
ENV APP_NAME="Testarrow"

startapp.sh

#!/bin/sh
exec /usr/bin/xterm

start.sh

#!/usr/bin/env sh
docker build -t docker-xterm .
docker run --rm -p 5800:5800 -p 5900:5900 docker-xterm

Should I try Alpine Linux instead?

from docker-baseimage-gui.

jlesage avatar jlesage commented on September 13, 2024

Closing this issue. Please re-open if needed.

from docker-baseimage-gui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.