Skip to content

Commit

Permalink
add dev container and new job (#6)
Browse files Browse the repository at this point in the history
* add dev container and new job
  • Loading branch information
jldeen committed Aug 10, 2022
1 parent b0c67f3 commit 2fb08d6
Show file tree
Hide file tree
Showing 4 changed files with 95 additions and 3 deletions.
26 changes: 26 additions & 0 deletions .devcontainer/Dockerfile
@@ -0,0 +1,26 @@
FROM golang:1.13-alpine

# VARIANT can be either 'hugo' for the standard version or 'hugo_extended' for the extended version.
ARG VARIANT=hugo_extended
# VERSION can be either 'latest' or a specific version number
ARG VERSION=latest

RUN apk add --update --no-cache ca-certificates openssl git curl && \
case ${VERSION} in \
latest) \
export VERSION=$(curl -s https://api.github.com/repos/gohugoio/hugo/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4)}') ;;\
esac && \
echo ${VERSION} && \
wget -O ${VERSION}.tar.gz https://github.com/gohugoio/hugo/releases/download/v${VERSION}/${VARIANT}_${VERSION}_Linux-64bit.tar.gz && \
tar xf ${VERSION}.tar.gz && \
mv hugo* /usr/bin/hugo && \
go get github.com/yaegashi/muslstack && \
muslstack -s 0x800000 /usr/bin/hugo

FROM mcr.microsoft.com/vscode/devcontainers/base:0-alpine-3.12
# Required for hugo_extended
RUN apk add --update --no-cache libc6-compat
COPY --from=0 /usr/bin/hugo /usr/bin
EXPOSE 1313
WORKDIR /src
CMD ["/usr/bin/hugo server"]
42 changes: 42 additions & 0 deletions .devcontainer/devcontainer.json
@@ -0,0 +1,42 @@
{
"name": "Hugo Resume",
"build": {
"dockerfile": "Dockerfile",
"args": {
// Update VARIANT to pick hugo variant.
// Example variants: hugo, hugo_extended
// Rebuild the container if it already exists to update.
"VARIANT": "hugo",
// Update VERSION to pick a specific hugo version.
// Example versions: latest, 0.73.0, 0,71.1
// Rebuild the container if it already exists to update.
"VERSION": "latest"
}
},
// Set *default* container specific settings.json values on container create.
"settings": {
"terminal.integrated.profiles.linux": {
"zsh (login)": {
"path": "zsh"
}
}
},
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"bungcip.better-toml",
"davidanson.vscode-markdownlint"
],
// Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [
1313
],
// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "uname -a",
// Uncomment to use Docker from inside the container. See https://aka.ms/vscode-remote/samples/docker-from-docker.
// "mounts": [ "source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind" ],
// Uncomment when using a ptrace-based debugger like C++, Go, and Rust
// "runArgs": [ "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined" ],
// Uncomment to connect as a non-root user. See https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "vscode",
"postCreateCommand": "git submodule update --init"
}
8 changes: 6 additions & 2 deletions config.toml
Expand Up @@ -119,9 +119,13 @@ googleAnalytics = "UA-XXXXXXX-Y"
enable = true

[[params.experience.list]]
title = "TO BE ANNOUNCED"
title = "Principal Developer Advocate"
dates = "2022 - Present"
company = "TO BE ANNOUNCED"
company = "AWS"
details = "Focusing on Native Containers"
[[params.experience.list.items]]
details = "Elastic Container Service (ECS)"


[[params.experience.list]]
title = "Principal Content Engineer"
Expand Down
22 changes: 21 additions & 1 deletion public/index.html
Expand Up @@ -131,6 +131,26 @@ <h3 class="text-uppercase resume-section-heading mb-4">
</h3>


<div class="item mb-3">
<div class="item-heading row align-items-center mb-2">
<h4 class="item-title col-12 col-md-6 col-lg-6 mb-2 mb-md-0">
TO BE ANNOUNCED
</h4>
<div
class="item-meta col-12 col-md-6 col-lg-6 text-muted text-left text-md-right"
>
TO BE ANNOUNCED | 2022 - Present
</div>
</div>
<div class="item-content">
<p></p>
<ul class="resume-list">

</ul>
</div>
</div>


<div class="item mb-3">
<div class="item-heading row align-items-center mb-2">
<h4 class="item-title col-12 col-md-6 col-lg-6 mb-2 mb-md-0">
Expand All @@ -139,7 +159,7 @@ <h4 class="item-title col-12 col-md-6 col-lg-6 mb-2 mb-md-0">
<div
class="item-meta col-12 col-md-6 col-lg-6 text-muted text-left text-md-right"
>
Microsoft | 2021 - Present
Microsoft | 2021 - 2022
</div>
</div>
<div class="item-content">
Expand Down

0 comments on commit 2fb08d6

Please sign in to comment.