Skip to content

Commit

Permalink
setup-vice: run in /tmp for writable files, rename for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
stapelberg committed Mar 17, 2024
1 parent ccfeab9 commit ba8668c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ RUN sed -i '0,/Components: main/{s/^Components: main/Components: main contrib no

RUN apt-get update && apt-get -y install --no-install-recommends vice cc65 emacs vim && apt-get -y install xpra

ADD vice-setup.sh /vice-setup.sh
ADD vice-setup.sh /setup-vice.sh

USER vscode
RUN bash -x /vice-setup.sh
RUN bash -x /setup-vice.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/bin/bash

cd /tmp
VICEVERSION=$(x128 --version | sed -e 's,x128 (VICE ,,g;s,),,g')
wget https://downloads.sourceforge.net/project/vice-emu/releases/vice-${VICEVERSION?}.tar.gz
mkdir -p ~/.local/share/vice
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ format:
clang-format-3.9 -i **/*.[ch]

setup-vice:
./.devcontainer/vice-setup.sh
./.devcontainer/setup-vice.sh

vice: package
x128 -config vicerc -autostart kasse.d71 +go64 -remotemonitor -80col -speed 200
Expand Down

0 comments on commit ba8668c

Please sign in to comment.