Compare commits

...

10 Commits

Author SHA1 Message Date
Restyled.io
c05c920cd1 Restyled by whitespace 2020-06-05 01:50:39 +00:00
Restyled.io
f25cf15f9d Restyled by prettier-markdown 2020-06-05 01:50:38 +00:00
9dd6acbbd7 change password on gitpod instead of bothering with contribution to gitpod 2020-06-05 01:50:26 +00:00
5ae9dd95ca added syntax for issue reproduction using org-mode on gitpod 2020-06-05 01:42:44 +00:00
b1f9e6934f Disable root password, because @jankeromnes is wasting your time by not merging contribs~ 2020-06-05 01:34:01 +00:00
Jacob Hrbek
ab8248995d
Update debian.Dockerfile 2020-06-05 03:19:41 +02:00
f473b74468 sd 2020-06-05 01:16:26 +00:00
Jacob Hrbek
fc1ea95b97
Update .gitpod.yml 2020-06-05 02:58:05 +02:00
8c7ae77170 disable blockers 2020-06-05 00:43:36 +00:00
75fa3e643e init 2020-05-21 17:15:34 +00:00
4 changed files with 50 additions and 34 deletions

@ -1,6 +1,8 @@
image: image:
file: gitpod/debian.Dockerfile file: gitpod/debian.Dockerfile
# Used to get root in gitpod for whitelisted users
privileged: true
# FIXME: Change gitpod user on GITPOD_GIT_USER_NAME env value # FIXME: Change gitpod user on GITPOD_GIT_USER_NAME env value
tasks: tasks:
@ -31,3 +33,4 @@ vscode:
- exiasr.hadolint@0.3.0:/FkAW3eTb+z9O7VZAyAa0w== - exiasr.hadolint@0.3.0:/FkAW3eTb+z9O7VZAyAa0w==
- DavidAnson.vscode-markdownlint@0.34.0:l4DL7iPpo7DdhfUHIUtcuQ== - DavidAnson.vscode-markdownlint@0.34.0:l4DL7iPpo7DdhfUHIUtcuQ==
- yzhang.markdown-all-in-one@2.7.0:5+DmuGcePw8L9PtfgOAAHg== - yzhang.markdown-all-in-one@2.7.0:5+DmuGcePw8L9PtfgOAAHg==
- tootone.org-mode@0.5.0:nMzU+vF2VnQcpTnwzwBKWg==

7
docs-next/README.md Normal file

@ -0,0 +1,7 @@
This is an experimetal directory designed to be used with org-mode extension
(https://marketplace.visualstudio.com/items?itemName=tootone.org-mode) which is
according to proof-of-concept
http://ehneilsen.net/notebook/orgExamples/org-examples.htm capable of providing
the required documentation.
Current tests conducted on vscode assuming it being supported by gitpod

13
docs-next/test.org Normal file

@ -0,0 +1,13 @@
#+TITLE: Gitpod test TODO list
* TODO: TEST
#+begin_src ditaa :file ditaa-simpleboxes.png
+---------+
| |
| Foo |
| |
+----+----+---+
|Bar |Baz |
| | |
+----+--------+
#+end_src

@ -1,50 +1,43 @@
FROM debian:latest FROM debian:latest
# Blocked by https://github.com/gitpod-io/gitpod/issues/39
COPY gitpod/scripts/root-access.sh /usr/bin/root-access
RUN true "5g5fdhsfd" \
&& chmod +x /usr/bin/root-access \
&& /usr/bin/root-access \
&& rm /usr/bin/root-access
# Blocked by https://github.com/gitpod-io/gitpod/issues/1265
COPY gitpod/scripts/vm-support.sh /usr/bin/vm-support
RUN true "8g7as2dga7" \
&& chmod +x /usr/bin/vm-support \
&& /usr/bin/vm-support \
&& rm /usr/bin/vm-support
# FIXME: Outputs `gitpod@ws-ce281d58-997b-44b8-9107-3f2da7feede3:/workspace/gitpod-tests1$` in terminal # FIXME: Outputs `gitpod@ws-ce281d58-997b-44b8-9107-3f2da7feede3:/workspace/gitpod-tests1$` in terminal
# FIXME: Add hadolint executable # FIXME: Add hadolint executable
# FIXME: We can use /bin/sh instead of /bin/bash to get minor optimization # FIXME: We can use /bin/sh instead of /bin/bash to get minor optimization
# To avoid bricked workspaces (https://github.com/gitpod-io/gitpod/issues/1171) # To avoid bricked workspaces (https://github.com/gitpod-io/gitpod/issues/1171)
ARG DEBIAN_FRONTEND=noninteractive ARG DEBIAN_FRONTEND="noninteractive"
USER root USER root
ENV LANG=en_US.UTF-8 ENV LANG="en_US.UTF-8"
ENV LC_ALL=C ENV LC_ALL="C"
# Add 'gitpod' user
RUN useradd \
--uid 33333 \
--create-home --home-dir /home/gitpod \
--shell /bin/bash \
--password gitpod \
gitpod || exit 1
# Install dependencies # Install dependencies
RUN apt-get update \ RUN true \
&& apt-get install -y rustc cargo pkg-config \ && apt-get update \
&& : "Install hadolint if not available in downstream" \ && apt-get install -y \
rustc \
cargo \
pkg-config \
# "Install hadolint if not available in downstream"
&& if ! apt-cache search hadolint | grep -qP "^hadolint -.*"; then { if ! command -v wget >/dev/null; then apt-get install -y wget; fi ;} && wget https://github.com/hadolint/hadolint/releases/download/v1.17.5/hadolint-Linux-x86_64 -O /usr/bin/hadolint && { [ ! -x /usr/bin/hadolint ] && chmod +x /usr/bin/hadolint ;}; elif apt-cache search hadolint | grep -qP "^hadolint -.*"; then apt-get install -y hadolint; fi \ && if ! apt-cache search hadolint | grep -qP "^hadolint -.*"; then { if ! command -v wget >/dev/null; then apt-get install -y wget; fi ;} && wget https://github.com/hadolint/hadolint/releases/download/v1.17.5/hadolint-Linux-x86_64 -O /usr/bin/hadolint && { [ ! -x /usr/bin/hadolint ] && chmod +x /usr/bin/hadolint ;}; elif apt-cache search hadolint | grep -qP "^hadolint -.*"; then apt-get install -y hadolint; fi \
&& curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh \ && curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh \
&& apt-get autoremove -y \ && apt-get autoremove -y \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
# Install sudo
# FIXME-GITPOD(Krey): Disable cache for this so that it can be applied depending on priviledge in .gitpod.yml
RUN true \
&& apt-get update -q \
&& apt-get install -qy \
sudo \
&& apt-get autoremove -y \
&& rm -rf /var/lib/apt/lists/* \
&& printf '%s\n' "gitpod:gitpod" | chpasswd
# Add custom functions # Add custom functions
RUN if ! grep -qF 'ix()' /etc/bash.bashrc; then printf '%s\n' \ RUN true \
&& if ! grep -qF 'ix()' /etc/bash.bashrc; then printf '%s\n' \
'# Custom' \ '# Custom' \
"ix() { curl -F 'f:1=<-' ix.io 2>/dev/null ;}" \ "ix() { curl -F 'f:1=<-' ix.io 2>/dev/null ;}" \
>> /etc/bash.bashrc; fi >> /etc/bash.bashrc; fi