Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Build and push
uses: docker/build-push-action@v5
with:
context: ./docker
context: .
file: ./docker/Dockerfile
push: true
tags: ghcr.io/${{ github.repository }}/config-base:latest
Expand Down
9 changes: 4 additions & 5 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ RUN curl -L https://dl.google.com/go/go$GO_VERSION.linux-arm64.tar.gz -o /tmp/go
&& sudo tar -C /usr/local/ -xzf /tmp/go.tar.gz \
&& rm /tmp/go.tar.gz

ADD ./zsh /home/coder/.zsh
ADD ./sh/.zprofile /home/coder/.zprofile
ADD ./sh/.zshrc /home/coder/.zshrc
ADD ./.zsh /home/coder/.zsh
ADD ./dot/.zprofile /home/coder/.zprofile
ADD ./dot/.zshrc /home/coder/.zshrc

RUN curl -O https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-370.0.0-linux-arm.tar.gz \
&& tar -zxvf google-cloud-sdk-370.0.0-linux-arm.tar.gz \
Expand Down Expand Up @@ -45,6 +45,5 @@ RUN mkdir -p /home/coder/.local/share/code-server/User
WORKDIR /home/coder/develop

ADD . /home/coder/config

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

logic: Adding entire context (.) to /home/coder/config could cause recursive copy issues since the destination is within the source

ADD ./vscode/settings.json /home/coder/.local/share/code-server/User/settings.json
ADD ./vscode/keybindings.json /home/coder/.local/share/code-server/User/keybindings.json
ADD ./.vscode/settings.json /home/coder/.local/share/code-server/User/settings.json