From be448b5fdebf3876cff3177451ace3061372b44e Mon Sep 17 00:00:00 2001 From: Jussi Laasonen <404469+jlaasonen@users.noreply.github.com> Date: Thu, 16 Sep 2021 13:27:22 +0000 Subject: [PATCH] Add Gitpod configuration --- .gitpod.Dockerfile | 12 ++++++++++++ .gitpod.yml | 2 ++ README.md | 4 +++- 3 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 .gitpod.Dockerfile create mode 100644 .gitpod.yml diff --git a/.gitpod.Dockerfile b/.gitpod.Dockerfile new file mode 100644 index 0000000..23631cc --- /dev/null +++ b/.gitpod.Dockerfile @@ -0,0 +1,12 @@ +FROM gitpod/workspace-full + +ARG FB_VERSION=1.08.1 +ARG OS_VERSION=ubuntu-20.04 +ARG OS_ARCH=x86_64 +ARG DOWNLOAD_NAME=FreeBASIC-$FB_VERSION-$OS_VERSION-$OS_ARCH + +WORKDIR /tmp/ +RUN wget https://sourceforge.net/projects/fbc/files/FreeBASIC-$FB_VERSION/Binaries-Linux/$OS_VERSION/$DOWNLOAD_NAME.tar.gz +RUN tar -xvf $DOWNLOAD_NAME.tar.gz +WORKDIR /tmp/$DOWNLOAD_NAME/ +RUN sudo ./install.sh -i diff --git a/.gitpod.yml b/.gitpod.yml new file mode 100644 index 0000000..527c76d --- /dev/null +++ b/.gitpod.yml @@ -0,0 +1,2 @@ +image: + file: .gitpod.Dockerfile diff --git a/README.md b/README.md index 95e1c43..6e7d6a2 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ # hexfile -Simple command-line tool which prints a hex dump of a file. +Simple command-line tool which prints a hex dump of a file. + +[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/jlaasonen/hexfile) ## Requirements