-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto stash before rebase of "refs/heads/idk" remove docker.
- Loading branch information
Showing
3 changed files
with
53 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Use the official Ubuntu as a parent image | ||
FROM ubuntu:20.04 | ||
ARG DEBIAN_FRONTEND=noninteractive | ||
|
||
# Install system dependencies | ||
RUN apt-get update && \ | ||
apt-get install -y curl unzip git autoconf patch build-essential rustc libssl-dev libyaml-dev libreadline6-dev zlib1g-dev libgmp-dev libncurses5-dev libffi-dev libgdbm6 libgdbm-dev libdb-dev uuid-dev libgtk-3-dev libwebkit2gtk-4.0-dev portaudio19-dev | ||
|
||
# RUN apt-get clean && rm -rf /var/lib/apt/lists/* | ||
|
||
# Install asdf | ||
RUN git clone --depth 1 https://github.com/asdf-vm/asdf.git ~/.asdf | ||
|
||
ENV PATH="$PATH:/root/.asdf/bin:/root/.asdf/shims" | ||
|
||
# install ruby | ||
RUN asdf plugin add ruby && \ | ||
asdf install ruby 3.2.0 && \ | ||
asdf global ruby 3.2.0 | ||
|
||
# set working directory | ||
WORKDIR /scarpe | ||
|
||
# Copy whole app | ||
COPY . /scarpe | ||
|
||
# Install gems | ||
RUN bundle install | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Shoes.app do | ||
stack do | ||
@note = para " your note will appear here" | ||
|
||
@edit_box = edit_box "" | ||
@save_button = button "Save" | ||
|
||
@save_button.click do | ||
new_text = @edit_box.text | ||
@note.text = new_text | ||
alert("Note saved successfully!") | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters