Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 37b58bd

Browse files
committed
build(DevContainers): add tfenv with aliases
1 parent 0e88736 commit 37b58bd

File tree

3 files changed

+21
-2
lines changed

3 files changed

+21
-2
lines changed

.devcontainers/Dockerfile

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,28 @@
1+
# Base image src: https://github.com/AshGw/node
12
FROM ashgw/node:latest
23

4+
# Terraform setup
5+
RUN apt-get update && apt-get install -y gnupg software-properties-common curl && \
6+
wget -qO - https://apt.releases.hashicorp.com/gpg | gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg && \
7+
gpg --no-default-keyring --keyring /usr/share/keyrings/hashicorp-archive-keyring.gpg --fingerprint && \
8+
echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | && \
9+
tee /etc/apt/sources.list.d/hashicorp.list && \
10+
sudo apt update && sudo apt install terraform
11+
12+
# tfenv setup
13+
RUN git clone --depth=1 https://github.com/tfutils/tfenv.git ~/.tfenv && \
14+
echo 'export PATH="$HOME/.tfenv/bin:$PATH"' >> ~/.zshrc
15+
16+
17+
# Justfile
318
RUN sudo apt-get update && \
419
sudo apt install curl -y && \
520
curl https://sh.rustup.rs -sSf | sh -s -- -y && \
621
export PATH="$HOME/.cargo/bin:$PATH" && \
722
rustup default stable && \
823
cargo install just
924

25+
# Aliases setup
26+
ENV DOTFILES_REPO=https://raw.githubusercontent.com/AshGw/dotfiles/main
27+
RUN curl -o "$HOME/.zshrc" "$DOTFILES_REPO/.zshrc"
28+

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,4 @@
8080
"tailwindcss-animate": "^1.0.7",
8181
"typed.js": "^2.1.0"
8282
}
83-
}
83+
}

src/app/(pages)/about/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ export default function Page() {
155155
<Link href="/blog/tag/management" name="cv" /> (it&apos;s too long),
156156
or, you might want to check out my
157157
<Link href="/blog/tag/management" name="resume" /> to get a glimpse
158-
instead. Speaking of tools
158+
instead.
159159
</p>
160160
</Card>
161161
<MajorHeading title="About The Website" />

0 commit comments

Comments
 (0)