Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

更新 #3

Open
wants to merge 9 commits into
base: stable-1.12.2
Choose a base branch
from
Open
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
16 changes: 16 additions & 0 deletions .github/workflows/dockerimage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Docker Image CI

on: [push]

jobs:

build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Build the Docker image
# run: docker build . --file Dockerfile --tag my-image-name:$(date +%s)
run: docker build . --file Dockerfile

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
docker-compose.yml
data/
8 changes: 8 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
language: bash

services:
- docker

script:
- docker image build --tag sousuke0422/minecraft .

4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ ENV MINECRAFT_VERSION 1.7.10-10.13.4.1614-1.7.10

RUN apt -y update; \
apt install -y wget; \
wget -q https://d3pxv6yz143wms.cloudfront.net/java-1.8.0-amazon-corretto-jdk_8.192.12-2_amd64.deb; \
apt install -y ./java-1.8.0-amazon-corretto-jdk_8.192.12-2_amd64.deb; \
wget -q https://corretto.aws/downloads/resources/8.232.09.1/java-1.8.0-amazon-corretto-jdk_8.232.09-1_amd64.deb; \
apt install -y ./java-1.8.0-amazon-corretto-jdk_8.232.09-1_amd64.deb; \
wget -q http://files.minecraftforge.net/maven/net/minecraftforge/forge/${MINECRAFT_VERSION}/forge-${MINECRAFT_VERSION}-installer.jar; \
java -jar forge-${MINECRAFT_VERSION}-installer.jar --installServer;

Expand Down
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# minecraft
Minecraft Dockerfile for Forge

[![Build Status](https://travis-ci.com/TeamOrangeServer/minecraft.svg?branch=stable)](https://travis-ci.com/TeamOrangeServer/minecraft)

java version:"1.8.0_232"(Corretto 8)

Test minecraft forge version:"1.7.10-10.13.4.1614-1.7.10","1.12.2-14.23.5.2768"